ANSIBLE_SSH_ARGS not applied to hosts created with add_host #70437
Labels
affects_2.11
bug
This issue/PR relates to a bug.
has_pr
This issue has an associated PR.
support:core
This issue/PR relates to code supported by the Ansible Engineering Team.
SUMMARY
The settings in
ANSIBLE_SSH_ARGS
are not applied to any host created withadd_host
resulting in incorrect connection to those hosts.ISSUE TYPE
COMPONENT NAME
lib/ansible/plugins/connection/ssh.py
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
STEPS TO REPRODUCE
Run the following playbook passing
ANSIBLE_SSH_ARGS
as an environment variableEXPECTED RESULTS
ANSIBLE_SSH_ARGS
are applied to the host created withadd_host
and used during connection.(output truncated)
ACTUAL RESULTS
Missing
ANSIBLE_SSH_ARGS
.The text was updated successfully, but these errors were encountered: