]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
Simplify NTP checks/install 2031/head
authorMajor Hayden <major@mhtx.net>
Wed, 11 Oct 2017 18:21:20 +0000 (13:21 -0500)
committerMajor Hayden <major@mhtx.net>
Thu, 12 Oct 2017 17:31:07 +0000 (12:31 -0500)
commita1c76e834ceee05cc1751b9c5596f93bd6e9f31b
treeec5c4bd454977c4dc2f1b4fd0e222ecd6a835ac6
parent9c3d749f7cd3599809ffc888e345075789a09b81
Simplify NTP checks/install

This patch simplifies the checks and installation tasks for NTP.

Debian and Red Hat had a check for NTP's presence but would then
install NTP right afterwards anyways. In addition, there were
tasks for atomic that weren't used anywhere else in the role.

This patch also uses a dynamic include to reduce delays from
skipped tasks.
roles/ceph-common/tasks/checks/check_ntp_atomic.yml [deleted file]
roles/ceph-common/tasks/checks/check_ntp_debian.yml [deleted file]
roles/ceph-common/tasks/checks/check_ntp_redhat.yml [deleted file]
roles/ceph-common/tasks/main.yml
roles/ceph-common/tasks/misc/ntp_atomic.yml [deleted file]
roles/ceph-common/tasks/misc/ntp_debian.yml
roles/ceph-common/tasks/misc/ntp_redhat.yml