diff options
author | Scott Dodson <sdodson@redhat.com> | 2016-11-21 16:26:21 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-21 16:26:21 -0500 |
commit | 4954982b72451f82bd40802b0bdf39379ad4bdf1 (patch) | |
tree | b890599b1719b630e3fae8197f9d8417e9a29c20 /roles/openshift_clock | |
parent | e34870e2b1b452f9719d14911d7a2a557ca701bd (diff) | |
parent | 7e0c346c8406eb6142e8d38fdec4e13236f3cdc6 (diff) | |
download | openshift-4954982b72451f82bd40802b0bdf39379ad4bdf1.tar.gz openshift-4954982b72451f82bd40802b0bdf39379ad4bdf1.tar.bz2 openshift-4954982b72451f82bd40802b0bdf39379ad4bdf1.tar.xz openshift-4954982b72451f82bd40802b0bdf39379ad4bdf1.zip |
Merge pull request #2818 from mtnbikenc/package-refactor
Refactor to use Ansible package module
Diffstat (limited to 'roles/openshift_clock')
-rw-r--r-- | roles/openshift_clock/tasks/main.yaml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_clock/tasks/main.yaml b/roles/openshift_clock/tasks/main.yaml index 5a8403f68..3911201ea 100644 --- a/roles/openshift_clock/tasks/main.yaml +++ b/roles/openshift_clock/tasks/main.yaml @@ -6,7 +6,7 @@ enabled: "{{ openshift_clock_enabled | default(None) }}" - name: Install ntp package - action: "{{ ansible_pkg_mgr }} name=ntp state=present" + package: name=ntp state=present when: openshift.clock.enabled | bool and not openshift.clock.chrony_installed | bool - name: Start and enable ntpd/chronyd |