Update admin user configuration playbook 73/18273/1
authorSankar Palanivel <sankar.palanivel@est.tech>
Thu, 25 May 2023 11:24:33 +0000 (12:24 +0100)
committerSankar Palanivel <sankar.palanivel@est.tech>
Thu, 25 May 2023 11:24:33 +0000 (12:24 +0100)
Change-Id: Ic2a0067aa6ab77db09eb415c219bae43c7e14bc1

infra/configure_admin_user_access/playbooks/configure-admin-user-access.yaml

index 30b4a5d4106886a6e96c4fa08cdfb256a010f132..4e94951302885658585d9c5f45133819dc7bbf91 100644 (file)
 # ============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