File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change 3
3
# This is primarily used in CI workflows
4
4
5
5
- name : Migrate RabbitMQ queues
6
- hosts : localhost
6
+ hosts : controllers
7
7
gather_facts : no
8
8
vars :
9
9
- rabbitmq_container_name : " rabbitmq"
14
14
register : timedatectl_status
15
15
changed_when : false
16
16
17
+ - name : Fail if the clock is not synchronized
18
+ assert :
19
+ that :
20
+ - " 'synchronized: yes' not in timedatectl_status.stdout"
21
+ fail_msg : >
22
+ timedatectl sees the system clock as unsynchronized.
23
+ You may need to force synchronisation using `chronyc makestep`.
24
+ Otherwise, please wait for synchronization.
25
+
17
26
- name : Generate kolla configuration
18
27
shell :
19
28
cmd : >
33
42
delegate_to : localhost
34
43
changed_when : false
35
44
36
- - name : Fail if the clock is not synchronized
37
- assert :
38
- that :
39
- - " 'synchronized: yes' not in timedatectl_status.stdout"
40
- fail_msg : >
41
- timedatectl sees the system clock as unsynchronized.
42
- You may need to force synchronisation using `chronyc makestep`.
43
- Otherwise, please wait for synchronization.
44
-
45
45
- name : Inspect the {{ rabbitmq_container_name }} container
46
46
shell :
47
47
cmd : " docker container inspect --format '{{ '{{' }} .State.Running {{ '}}' }}' {{ rabbitmq_container_name }}"
You can’t perform that action at this time.
0 commit comments