fix(playbook): reset SSH connection before post-reboot tasks
This commit is contained in:
5
main.yml
5
main.yml
@@ -111,6 +111,11 @@
|
|||||||
}}
|
}}
|
||||||
changed_when: false
|
changed_when: false
|
||||||
|
|
||||||
|
- name: Reset SSH connection before post-reboot tasks
|
||||||
|
when:
|
||||||
|
- post_reboot_can_connect | bool
|
||||||
|
ansible.builtin.meta: reset_connection
|
||||||
|
|
||||||
- name: Set final SSH credentials for post-reboot tasks
|
- name: Set final SSH credentials for post-reboot tasks
|
||||||
when:
|
when:
|
||||||
- post_reboot_can_connect | bool
|
- post_reboot_can_connect | bool
|
||||||
|
|||||||
Reference in New Issue
Block a user