Change to use os_family

This commit is contained in:
Sleuth 2022-11-08 14:54:41 -05:00
parent 8f25ffccc9
commit a474e4e03e
1 changed files with 1 additions and 1 deletions

View File

@ -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: