Initial release version to AAP #5
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: Update package cache for Debian hosts
|
- name: Update package cache for Debian hosts
|
||||||
apt:
|
apt:
|
||||||
update_cache: yes
|
update_cache: true
|
||||||
when:
|
when:
|
||||||
- ansible_distribution|lower == 'debian'
|
- ansible_distribution|lower == 'debian'
|
||||||
tags:
|
tags:
|
||||||
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
- name: Update package cache for RHEL/CentOS/Fedora hosts
|
- name: Update package cache for RHEL/CentOS/Fedora hosts
|
||||||
dnf:
|
dnf:
|
||||||
update_cache: yes
|
update_cache: true
|
||||||
when:
|
when:
|
||||||
- (ansible_distribution|lower == 'centos' or
|
- (ansible_distribution|lower == 'centos' or
|
||||||
ansible_distribution|lower == 'fedora' or
|
ansible_distribution|lower == 'fedora' or
|
||||||
|
Loading…
x
Reference in New Issue
Block a user