changed from ansible_distribution to ansible_os_family

This commit is contained in:
Radar231 2021-12-30 14:22:08 -05:00
parent 4bf0ad456c
commit fbb9e23999
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@
- name: updated package cache (Ubuntu)
apt:
update-cache: true
when: ansible_distribution == "Ubuntu" or ansible_distribution == "Pop!_OS" or ansible_distribution == "Linux Mint"
when: ansible_os_family == "Debian"
- name: update package cache (CentOS)
yum: