summaryrefslogtreecommitdiffstats
path: root/debian/patches/0001-fix-libvirt-connection-plugin-warning.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/0001-fix-libvirt-connection-plugin-warning.patch')
-rw-r--r--debian/patches/0001-fix-libvirt-connection-plugin-warning.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/debian/patches/0001-fix-libvirt-connection-plugin-warning.patch b/debian/patches/0001-fix-libvirt-connection-plugin-warning.patch
new file mode 100644
index 000000000..d3daee66b
--- /dev/null
+++ b/debian/patches/0001-fix-libvirt-connection-plugin-warning.patch
@@ -0,0 +1,22 @@
+Description: Fix libvirt connection plugin warning
+Origin: upstream, https://github.com/ansible-collections/community.libvirt/pull/147
+Forwarded: not-needed
+Reviewed-by: Lee Garrett <debian@rocketjump.eu>
+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.