]> git.phdru.name Git - ansible.git/blob - playbooks/redhat/update-all-dnf.yml
fee790af0319771e2858cd90a63910f0fad14bfe
[ansible.git] / playbooks / redhat / update-all-dnf.yml
1 - name: Update RPM systems with dnf
2   hosts: "{{ hosts | default('all') }}"
3   become: yes
4   gather_facts: false
5   tasks:
6     - name: Update system using dnf
7       dnf:
8         name: "*"
9         state: latest
10         update_cache: yes