summaryrefslogtreecommitdiffstats
path: root/roles/openshift_clock/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'roles/openshift_clock/tasks')
-rw-r--r--roles/openshift_clock/tasks/main.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/roles/openshift_clock/tasks/main.yaml b/roles/openshift_clock/tasks/main.yaml
index f8b02524a..82c73b583 100644
--- a/roles/openshift_clock/tasks/main.yaml
+++ b/roles/openshift_clock/tasks/main.yaml
@@ -9,6 +9,8 @@
when:
- openshift_clock_enabled | bool
- chrony_installed.rc != 0
+ register: result
+ until: result | success
- name: Start and enable ntpd/chronyd
command: timedatectl set-ntp true