summaryrefslogtreecommitdiffstats
path: root/changelogs/fragments
diff options
context:
space:
mode:
authorAlex Willmer <alex@moreati.org.uk>2024-12-05 20:56:14 +0100
committerGitHub <noreply@github.com>2024-12-05 20:56:14 +0100
commite2b454f4e331b9d77d15f7e7aff655e2c7745a61 (patch)
treed2a9efb1732a8aaf7462f848752b7ebd1dc7e8c0 /changelogs/fragments
parentdocument decrypt also works on strings (#84412) (diff)
downloadansible-e2b454f4e331b9d77d15f7e7aff655e2c7745a61.tar.xz
ansible-e2b454f4e331b9d77d15f7e7aff655e2c7745a61.zip
wait_for_connection: fix errant warning for local connection(s) (#84421)
This prevents "[WARNING]: Reset is not implemented for this connection" when using wait_for_connection with localhost or other local hosts. It's arguable (from a consistency/correctness perspective) that `ansible.plugins.connection.local.Connection.reset()` should call `Connection.close()`. I went for a no-op on the basis of "if it aint broke don't fix it", and erred on the side of keeping existing semantics. However either option would be fine with me.
Diffstat (limited to 'changelogs/fragments')
-rw-r--r--changelogs/fragments/84419-fix-wait_for_connection-warning.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/changelogs/fragments/84419-fix-wait_for_connection-warning.yml b/changelogs/fragments/84419-fix-wait_for_connection-warning.yml
new file mode 100644
index 0000000000..3b34fefc45
--- /dev/null
+++ b/changelogs/fragments/84419-fix-wait_for_connection-warning.yml
@@ -0,0 +1,2 @@
+bugfixes:
+ - wait_for_connection - a warning was displayed if any hosts used a local connection (https://github.com/ansible/ansible/issues/84419)