From 875948f7252141a9724d44b7131cbe00eed7ef8e Mon Sep 17 00:00:00 2001 From: GomathiselviS Date: Thu, 7 Sep 2023 18:16:58 -0400 Subject: [PATCH] linters fix --- .../targets/test_deploy_flask_app/tasks/main.yaml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/tests/integration/targets/test_deploy_flask_app/tasks/main.yaml b/tests/integration/targets/test_deploy_flask_app/tasks/main.yaml index 90b611c6..28d0f44b 100644 --- a/tests/integration/targets/test_deploy_flask_app/tasks/main.yaml +++ b/tests/integration/targets/test_deploy_flask_app/tasks/main.yaml @@ -24,16 +24,14 @@ vpc_id: "{{ vpc.vpc.id }}" vm_info: "{{ vm_result }}" rds_info: "{{ rds_result }}" - register: deploy_flask_app_role_output - name: Check that a page returns successfully ansible.builtin.uri: url: "http://{{ deploy_flask_app_lb_result.elb.dns_name }}:{{ app_listening_port }}" - return_content: true register: deploy_flask_app_check - - - debug: - msg: "{{ deploy_flask_app_check }}" + until: "deploy_flask_app_check.status == 200" + retries: 5 + delay: 10 always: # Cleanup after ourselves