summaryrefslogtreecommitdiffstats
path: root/ansible/deployment_poc/tasks/wait.yml
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/deployment_poc/tasks/wait.yml')
-rw-r--r--ansible/deployment_poc/tasks/wait.yml10
1 files changed, 7 insertions, 3 deletions
diff --git a/ansible/deployment_poc/tasks/wait.yml b/ansible/deployment_poc/tasks/wait.yml
index 3f35e55..7d516ce 100644
--- a/ansible/deployment_poc/tasks/wait.yml
+++ b/ansible/deployment_poc/tasks/wait.yml
@@ -1,10 +1,14 @@
---
- name: Wait for guest to become alive
wait_for:
- delay: 240
+ #delay: 240
connect_timeout: 3
sleep: 15
port: 22
- host: '{{ vm_fqdn }}'
+ host: '{{ ip_address }}'
search_regex: OpenSSH
- connection: local
+ timeout: 900
+ #connection: local
+ delegate_to: localhost
+ tags:
+ - init_ssh