roles/common: Remove ansible_os_family checks
We're only supporting Debian family now so there's no point to check this variable now.
This commit is contained in:
parent
e43d8924e8
commit
547d808aea
@ -14,12 +14,12 @@
|
||||
|
||||
- name: Uninstall ntp on modern Ubuntu/Debian
|
||||
apt: name=ntp state=absent update_cache=yes
|
||||
when: ansible_os_family == 'Debian' and ansible_service_mgr == 'systemd'
|
||||
when: ansible_service_mgr == 'systemd'
|
||||
tags: packages
|
||||
|
||||
- name: Install ntp on old Ubuntu/Debian
|
||||
apt: name=ntp state=present update_cache=yes
|
||||
when: ansible_os_family == 'Debian' and ansible_service_mgr != 'systemd'
|
||||
when: and ansible_service_mgr != 'systemd'
|
||||
tags: packages
|
||||
|
||||
# vim: set ts=2 sw=2:
|
||||
|
Loading…
Reference in New Issue
Block a user