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:
2017-11-05 01:19:28 +02:00
parent e43d8924e8
commit 547d808aea

View File

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