mirror of
https://git.ecdf.ed.ac.uk/win_automation/windows-ansible.git
synced 2026-10-26 12:47:21 +00:00
use wait for connection to replace rundeck 10min sleep step
This commit is contained in:
1 parent
695cb909e1
commit
94a8849a3c
1 file changed
+5
-3
@@ -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
|
||||
|
||||
Reference in new issue
Block a user