mirror of
https://git.ecdf.ed.ac.uk/win_automation/windows-ansible.git
synced 2026-10-28 00:17: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 }}"
|
ansible_password: "{{ vm_password }}"
|
||||||
run_once: true
|
run_once: true
|
||||||
when: password_status == 'finished'
|
when: password_status == 'finished'
|
||||||
|
|
||||||
- name: Test password
|
- name: wait for connention to VM
|
||||||
win_ping:
|
ansible.builtin.wait_for_connection:
|
||||||
|
delay: 10
|
||||||
|
timeout: 600
|
||||||
any_errors_fatal: true
|
any_errors_fatal: true
|
||||||
|
|
||||||
- name: Set WinRM to delayed startup
|
- name: Set WinRM to delayed startup
|
||||||
|
|||||||
Reference in new issue
Block a user