mirror of
https://github.com/geerlingguy/ansible-role-pip.git
synced 2024-09-28 04:09:25 +02:00
Change to use os_family
This commit is contained in:
parent
8f25ffccc9
commit
a474e4e03e
@ -2,7 +2,7 @@
|
||||
- name: Update APT repositories.
|
||||
ansible.builtin.apt:
|
||||
update_cache: yes
|
||||
when: ansible_facts['distribution'] == "Debian"
|
||||
when: ansible_facts['os_family'] == "Debian"
|
||||
|
||||
- name: Ensure Pip is installed.
|
||||
package:
|
||||
|
Loading…
Reference in New Issue
Block a user