mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-11-21 14:48:44 +00:00
* synchronize: use ansible_host from play vars when absent from hostvars The synchronize action plugin built the rsync/ssh destination exclusively from task_vars['hostvars'][inventory_hostname]. When ansible_host was set via play-level vars: rather than inventory/ group_vars/host_vars, it was absent from that snapshot and the plugin silently fell back to bare inventory_hostname, producing 'Host not found' errors when ansible_host differed from the inventory name. Fixes #469