global_handlers: migrate bare ansible_os_family to ansible_facts
Missed in the earlier repo-wide facts migration because it lives outside roles/.
This commit is contained in:
1 parent
52a8f0f3cf
commit
4f1f9026d6
1 file changed
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
- name: apt_update
|
- name: apt_update
|
||||||
apt:
|
apt:
|
||||||
update_cache: yes
|
update_cache: yes
|
||||||
when: ansible_os_family == "Debian"
|
when: ansible_facts['os_family'] == "Debian"
|
||||||
|
|
||||||
- name: restart_sshd
|
- name: restart_sshd
|
||||||
service:
|
service:
|
||||||
|
|||||||
Reference in new issue
Block a user