diff --git a/ansible/playbooks/build_RPMS.yaml b/ansible/playbooks/build_RPMS.yaml new file mode 100644 index 0000000..c2fa72c --- /dev/null +++ b/ansible/playbooks/build_RPMS.yaml @@ -0,0 +1,15 @@ +- name: Build the RPMS + hosts: all + tasks: + - name: Install software + become: true + ansible.builtin.dnf: + name: + - git + - rpm-build + - rpmdevtools + state: present + - name: Clear directory /tmp/images/ + ansible.builtin.file: + path: /tmp/images/ + state: absent