From 5d094c3bf32ccf9ce6489f82c3378e0c67648961 Mon Sep 17 00:00:00 2001 From: "patchback[bot]" <45432694+patchback[bot]@users.noreply.github.com> Date: Mon, 23 Dec 2024 12:28:17 +0100 Subject: [PATCH] [PR #9334/da51594f backport][stable-9] qubes connection plugin: fix display stmt (#9336) qubes connection plugin: fix display stmt (#9334) * qubes connection plugin: fix display stmt * add changelog frag (cherry picked from commit da51594f9d626f0b3b0e62fcf2c3e0f857195eec) Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com> --- changelogs/fragments/9334-qubes-conn.yml | 2 ++ plugins/connection/qubes.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 changelogs/fragments/9334-qubes-conn.yml diff --git a/changelogs/fragments/9334-qubes-conn.yml b/changelogs/fragments/9334-qubes-conn.yml new file mode 100644 index 0000000000..3faa8d7981 --- /dev/null +++ b/changelogs/fragments/9334-qubes-conn.yml @@ -0,0 +1,2 @@ +bugfixes: + - qubes connection plugin - fix the printing of debug information (https://github.com/ansible-collections/community.general/pull/9334). diff --git a/plugins/connection/qubes.py b/plugins/connection/qubes.py index b54eeb3a84..8860fbb777 100644 --- a/plugins/connection/qubes.py +++ b/plugins/connection/qubes.py @@ -118,7 +118,7 @@ class Connection(ConnectionBase): rc, stdout, stderr = self._qubes(cmd) - display.vvvvv("STDOUT %r STDERR %r" % (stderr, stderr)) + display.vvvvv("STDOUT %r STDERR %r" % (stdout, stderr)) return rc, stdout, stderr def put_file(self, in_path, out_path):