use wait for connection to replace rundeck 10min sleep step

This commit is contained in:
abrown38 committed 2024-11-22 16:22:17 +00:00
1 parent 695cb909e1
commit 94a8849a3c
1 file changed
+5 -3
+5 -3
View File
@@ -17,9 +17,11 @@
ansible_password: "{{ vm_password }}"
run_once: true
when: password_status == 'finished'
- name: Test password
win_ping:
- name: wait for connention to VM
ansible.builtin.wait_for_connection:
delay: 10
timeout: 600
any_errors_fatal: true
- name: Set WinRM to delayed startup