changed from ansible_distribution to ansible_os_family

This commit is contained in:
Radar231 2021-12-30 14:17:57 -05:00
parent 52031aff6a
commit 44fda01ca1
1 changed files with 2 additions and 2 deletions

View File

@ -9,12 +9,12 @@
############################################################
# ensure python3-pip package has been installed
- name: Confirm python-pip3 installed (Ubuntu)
- name: Confirm python-pip3 installed (Ubuntu/Debian)
apt:
name:
- python3-pip
state: latest
when: ansible_distribution == "Ubuntu" or ansible_distribution == "Pop!_OS" or ansible_distribution == "Linux Mint"
when: ansible_os_family == "Debian"
- name: Confirm python-pip3 installed (CentOS)
yum: