debug: add a sleep 365d

for debugging purposes

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
debug-cv-tests
Guillaume Abrioux 2023-03-09 10:53:57 +01:00
parent 0622cde67f
commit e3eaeb4bec
1 changed files with 4 additions and 0 deletions

View File

@ -84,6 +84,10 @@
- not switch_to_containers | default(False) | bool - not switch_to_containers | default(False) | bool
- inventory_hostname == ansible_play_hosts_all | last - inventory_hostname == ansible_play_hosts_all | last
- name: sleep infinity debug
command: sleep 365d
when: inventory_hostname == ansible_play_hosts_all | last
- name: wait for all osd to be up - name: wait for all osd to be up
command: "{{ hostvars[groups[mon_group_name][0]]['container_exec_cmd'] | default('') }} ceph --cluster {{ cluster }} osd stat -f json" command: "{{ hostvars[groups[mon_group_name][0]]['container_exec_cmd'] | default('') }} ceph --cluster {{ cluster }} osd stat -f json"
register: wait_for_all_osds_up register: wait_for_all_osds_up