changed from ansible_distribution to ansible_os_family
This commit is contained in:
parent
52031aff6a
commit
44fda01ca1
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue