23 lines
494 B
YAML
23 lines
494 B
YAML
|
---
|
||
|
- name: Install uacme rpm package
|
||
|
hosts: linodes
|
||
|
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
|