2016-06-10 09:32:55 +08:00
|
|
|
---
|
|
|
|
- name: check ntp installation on debian
|
|
|
|
command: dpkg -s ntp
|
|
|
|
register: ntp_pkg_query
|
|
|
|
ignore_errors: true
|
2016-11-23 20:52:34 +08:00
|
|
|
always_run: true
|
2016-06-10 09:32:55 +08:00
|
|
|
changed_when: false
|
|
|
|
when: ansible_os_family == 'Debian'
|