Files
8129a5e8d3 ACA-4558: synchronize: use ansible_host from play vars when absent from hostvars (#779) (#798)
* 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

(cherry picked from commit 2f2a8e9b96)

Co-authored-by: Susmita Sen <sussen@redhat.com>
2026-09-17 07:45:56 +09:00
..
2020-03-09 13:15:28 +00:00