Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions ansible/roles/eos/handlers/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,20 @@

- name: Wait for VM to shutdown
wait_for:
host: "{{ ansible_ssh_host }}"
host: "{{ ansible_host }}"
port: 22
state: stopped
delay: 10
timeout: 300
connection: local
delegate_to: "{{ VM_host[0] }}"
listen: "Update VM state"

- name: Wait for VM to startup
wait_for:
host: "{{ ansible_ssh_host }}"
host: "{{ ansible_host }}"
port: 22
state: started
delay: 10
timeout: 1200
connection: local
delegate_to: "{{ VM_host[0] }}"
listen: "Update VM state"