Broke tasks out into roles rather than leaving them all in common

This commit is contained in:
Elia Farin
2024-10-30 13:45:57 -05:00
parent ead61b9fdc
commit 5f6cc4ae7b
10 changed files with 116 additions and 44 deletions

11
roles/dnf/tasks/main.yml Normal file
View 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 }}"