diff --git a/ansible/roles/grafana/tasks/post_config.yml b/ansible/roles/grafana/tasks/post_config.yml index 744135270b..f9dbcb2918 100644 --- a/ansible/roles/grafana/tasks/post_config.yml +++ b/ansible/roles/grafana/tasks/post_config.yml @@ -4,7 +4,7 @@ url: "{{ internal_protocol }}://{{ kolla_internal_vip_address }}:{{ grafana_server_port }}/login" status_code: 200 register: result - until: result | failed or result.status == 200 + until: result.get('status') == 200 retries: 10 delay: 2 run_once: true