Broke tasks out into roles rather than leaving them all in common
This commit is contained in:
11
roles/dnf/tasks/main.yml
Normal file
11
roles/dnf/tasks/main.yml
Normal file
@@ -0,0 +1,11 @@
|
||||
- name: Update installed packages
|
||||
ansible.builtin.dnf:
|
||||
name: "*"
|
||||
state: latest
|
||||
update_cache: yes
|
||||
|
||||
- name: Install Packages
|
||||
ansible.builtin.dnf:
|
||||
name: "{{ item }}"
|
||||
state: present
|
||||
loop: "{{ dnf_packages }}"
|
||||
Reference in New Issue
Block a user