23 lines
490 B
YAML
23 lines
490 B
YAML
---
|
|
- name: Install uacme rpm package
|
|
hosts: all
|
|
vars:
|
|
rpm_location: /home/thrrgilag/rpmbuild/RPMS/x86_64
|
|
rpm_file: uacme-1.7.3-1.x86_64.rpm
|
|
|
|
tasks:
|
|
- name: ping host
|
|
ansible.builtin.ping:
|
|
|
|
- name: upload rpm
|
|
ansible.builtin.copy:
|
|
src: "{{ rpm_location }}/{{ rpm_file }}"
|
|
dest: /tmp
|
|
|
|
- name: install rpm
|
|
ansible.builtin.dnf:
|
|
name: /tmp/{{ rpm_file }}
|
|
state: latest
|
|
disable_gpg_check: yes
|
|
become: yes
|