From e208ca406188eaacb75fb56cbeae8a0af082b26c Mon Sep 17 00:00:00 2001 From: Sankar Palanivel Date: Thu, 25 May 2023 12:24:33 +0100 Subject: [PATCH] Update admin user configuration playbook Change-Id: Ic2a0067aa6ab77db09eb415c219bae43c7e14bc1 --- .../playbooks/configure-admin-user-access.yaml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/infra/configure_admin_user_access/playbooks/configure-admin-user-access.yaml b/infra/configure_admin_user_access/playbooks/configure-admin-user-access.yaml index 30b4a5d..4e94951 100644 --- a/infra/configure_admin_user_access/playbooks/configure-admin-user-access.yaml +++ b/infra/configure_admin_user_access/playbooks/configure-admin-user-access.yaml @@ -18,20 +18,28 @@ # ============LICENSE_END========================================================= - hosts: jumphost - gather_facts: true + gather_facts: false become: false tasks: + - name: wait for connection with remote host + wait_for_connection: + delay: 60 + timeout: 300 - name: Configure admin user in jumphost include_role: name: configure-admin-user-access tasks_from: configure-jumphost.yaml - hosts: baremetal - gather_facts: true + gather_facts: false become: false tasks: + - name: wait for connection with remote host + wait_for_connection: + delay: 60 + timeout: 300 - name: Configure admin user in targethosts include_role: name: configure-admin-user-access -- 2.25.1