Initial commit
This commit is contained in:
9
roles/update_cache/tasks/main.yml
Normal file
9
roles/update_cache/tasks/main.yml
Normal file
@@ -0,0 +1,9 @@
|
||||
- name: Update cache on Debian/Ubuntu
|
||||
apt:
|
||||
update_cache: yes
|
||||
when: ansible_os_family == 'Debian'
|
||||
- name: Update cache on RedHat/CentOS/Fedora
|
||||
dnf:
|
||||
update_cache: yes
|
||||
when: ansible_os_family == 'RedHat'
|
||||
|
Reference in New Issue
Block a user