Checking if ntp is present is not needed anymore, these tasks are not
used anymore. So let's remove them
Signed-off-by: Sébastien Han <seb@redhat.com>
+++ /dev/null
----
-- name: check ntp installation on atomic
- command: rpm -q chrony
- ignore_errors: true
- always_run: true
- changed_when: false
---
-- name: check ntp installation on debian
- command: dpkg -s ntp
- ignore_errors: true
- always_run: true
- changed_when: false
- when:
- - ansible_os_family == 'Debian'
-
- name: install ntp on debian
package:
name: ntp
---
-- name: check ntp installation on redhat
- command: rpm -q ntp
- ignore_errors: true
- always_run: true
- changed_when: false
- when:
- - ansible_os_family == 'RedHat'
-
- name: install ntp on redhat
package:
name: ntp
+++ /dev/null
----
-- name: check ntp installation on atomic
- command: rpm -q chrony
- ignore_errors: true
- always_run: true
- changed_when: false
---
-- name: check ntp installation on debian
- command: dpkg -s ntp
- ignore_errors: true
- always_run: true
- changed_when: false
- when:
- - ansible_os_family == 'Debian'
-
- name: install ntp on debian
package:
name: ntp
---
-- name: check ntp installation on redhat
- command: rpm -q ntp
- ignore_errors: true
- always_run: true
- changed_when: false
- when:
- - ansible_os_family == 'RedHat'
-
- name: install ntp on redhat
package:
name: ntp
---
-- name: include ../checks/check_ntp_atomic.yml
- include: ../checks/check_ntp_atomic.yml
- when: is_atomic
-
- name: start the ntp service
service:
name: chronyd