Do not check if VM is back on vmware with cis activated, it will fail
without the key, and key cannot be set otherwise awx refuses connection
This commit is contained in:
1
main.yml
1
main.yml
@@ -94,6 +94,7 @@
|
|||||||
ansible_ssh_extra_args: "-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no"
|
ansible_ssh_extra_args: "-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no"
|
||||||
|
|
||||||
- name: Check if VM is back and running
|
- name: Check if VM is back and running
|
||||||
|
when: not (hypervisor == 'vmware' and cis | bool)
|
||||||
ansible.builtin.wait_for_connection:
|
ansible.builtin.wait_for_connection:
|
||||||
timeout: 300
|
timeout: 300
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user