]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
debug: dnm tests_colloc2
authorGuillaume Abrioux <gabrioux@redhat.com>
Wed, 29 Sep 2021 04:47:58 +0000 (06:47 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Wed, 29 Sep 2021 06:36:20 +0000 (08:36 +0200)
dnm

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
roles/ceph-dashboard/tasks/configure_dashboard.yml

index 992989d9f222c4c3e5790bba4d4b521c07804465..1b2850b22815db8728e6f243dae294042f8805e1 100644 (file)
     - name: set the rgw credentials
       command: "{{ container_exec_cmd }} ceph --cluster {{ cluster }} dashboard set-rgw-credentials"
       changed_when: false
+      register: result
+      until: result is succeeded
+      retries: 5
 
     - name: set the rgw admin resource
       command: "{{ container_exec_cmd }} ceph --cluster {{ cluster }} dashboard set-rgw-api-admin-resource {{ dashboard_rgw_api_admin_resource }}"
       when:
         - dashboard_rgw_api_no_ssl_verify | bool
         - radosgw_frontend_ssl_certificate | length > 0
+  rescue:
+    - name: sleep
+      command: sleep 365d
 
 - name: dashboard iscsi management
   when: groups.get(iscsi_gw_group_name, []) | length > 0