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 33# This is primarily used in CI workflows
44
55- name : Migrate RabbitMQ queues
6- hosts : localhost
6+ hosts : controllers
77 gather_facts : no
88 vars :
99 - rabbitmq_container_name : " rabbitmq"
1414 register : timedatectl_status
1515 changed_when : false
1616
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+
1726 - name : Generate kolla configuration
1827 shell :
1928 cmd : >
3342 delegate_to : localhost
3443 changed_when : false
3544
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-
4545 - name : Inspect the {{ rabbitmq_container_name }} container
4646 shell :
4747 cmd : " docker container inspect --format '{{ '{{' }} .State.Running {{ '}}' }}' {{ rabbitmq_container_name }}"
You can’t perform that action at this time.
0 commit comments