You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using ansible.posix.synchronize to pull from a target that is dual stacked with both IPv4 and IPv6, where the control server only has IPv4 will fail with "No route to host" as it defaults to IPv6.
SUMMARY
When using ansible.posix.synchronize to pull from a target that is dual stacked with both IPv4 and IPv6, where the control server only has IPv4 will fail with "No route to host" as it defaults to IPv6.
ISSUE TYPE
COMPONENT NAME
ansible.posix.synchronize
ANSIBLE VERSION
COLLECTION VERSION
This command fails, I assume becuase this is a RHEL 7 box, but running the newest version available:
This is the only module installed.
CONFIGURATION
This is a new install.
OS / ENVIRONMENT
STEPS TO REPRODUCE
ansible-playbook -i hosts collect_network_info.yml
EXPECTED RESULTS
As the local host only has IPv4, and the logs seems to show the IPv4 in the connection error, I would assume it should use that.
ACTUAL RESULTS
The command actually uses the IPv6 address after resolving the IPv4 address.
FINAL NOTES
I am new to Ansible, sorry if I am missing something obvious.
The text was updated successfully, but these errors were encountered: