Description: Fix libvirt connection plugin warning Origin: upstream, https://github.com/ansible-collections/community.libvirt/pull/147 Forwarded: not-needed Reviewed-by: Lee Garrett Last-Update: 2023-07-22 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- /dev/null +++ b/ansible_collections/community/libvirt/changelogs/fragments/147_fix_qemu_remote_target_warning.yml @@ -0,0 +1,2 @@ +bugfixes: + - libvirt_qemu - connection plugin threw a warning about an improperly configured remote target. Fix adds `inventory_hostname` to `options.remote_addr.vars` (https://github.com/ansible-collections/community.libvirt/pull/147). --- a/ansible_collections/community/libvirt/plugins/connection/libvirt_qemu.py +++ b/ansible_collections/community/libvirt/plugins/connection/libvirt_qemu.py @@ -29,6 +29,7 @@ default: inventory_hostname vars: - name: ansible_host + - name: inventory_hostname executable: description: - Shell to use for execution inside container.