ssh: Test reset_connection with templated ansible_ssh_executable

A failing test to confirm subsequent fixes are necessary & sufficient.

Signed-off-by: Alex Willmer <alex@moreati.org.uk>
Alex Willmer 4 weeks ago
parent f92e99fd8f
commit dd8457ced5

@ -20,3 +20,4 @@ else
fi
ansible-playbook test_reset_connection.yml -i "${INVENTORY}" "$@"
ansible-playbook test_reset_connection_templated.yml -i "${INVENTORY}" "$@"

@ -0,0 +1,7 @@
- hosts: "{{ target_hosts }}"
gather_facts: false
vars:
ansible_ssh_executable: "{{ 'ssh' | trim }}"
tasks:
# https://github.com/ansible/ansible/issues/84238
- meta: reset_connection
Loading…
Cancel
Save