summaryrefslogtreecommitdiff
path: root/changelogs
diff options
context:
space:
mode:
authorBrian Coca <bcoca@users.noreply.github.com>2023-05-01 10:20:08 -0400
committerGitHub <noreply@github.com>2023-05-01 10:20:08 -0400
commit06dcb4ad7a252315ba6dc38b3d46e82ba5ea2c40 (patch)
tree45729014069286b73a0d94f67552076e11f6db82 /changelogs
parent1568f07b220e70b8c62e844ccb2939da1cd9a90e (diff)
downloadansible-06dcb4ad7a252315ba6dc38b3d46e82ba5ea2c40.tar.gz
Don't include a default for cli as it overrides config with lesser pr… (#80650)
* Don't include a default for CLI as it overrides config with lesser precedence connection plugins should already use the same config entries (and more) than DEFAULT_TIMEOUT.
Diffstat (limited to 'changelogs')
-rw-r--r--changelogs/fragments/timeout_config_fix.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/changelogs/fragments/timeout_config_fix.yml b/changelogs/fragments/timeout_config_fix.yml
new file mode 100644
index 0000000000..5cebe81bf6
--- /dev/null
+++ b/changelogs/fragments/timeout_config_fix.yml
@@ -0,0 +1,5 @@
+bugfixes:
+ - connection timeouts defined in ansible.cfg will now be properly used, the --timeout cli option was obscuring them by always being set.
+breaking_changes:
+ - Any plugin using the config system and the `cli` entry to use the `timeout` from the command line, will see the value change if the use had configured it in any of the lower precedence methods.
+ If relying on this behaviour to consume the global/generic timeout from the DEFAULT_TIMEOUT constant, please consult the documentation on plugin configuration to add the overlaping entries.