diff options
author | Brian Coca <bcoca@users.noreply.github.com> | 2023-04-26 11:14:39 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-26 11:14:39 -0400 |
commit | b2c00957224ab7324add12109d6f2be1bc41b55f (patch) | |
tree | 84957cd543611bb3f823152da63de7596541d8d8 /changelogs/fragments | |
parent | 1e8b889b932f834aa62e20c4d412418a3f97a70c (diff) | |
download | ansible-b2c00957224ab7324add12109d6f2be1bc41b55f.tar.gz |
Fix gather parallel (#80597)
* fix meaning of parallel in gather_facts
* Update docs with note about parallel not always being faster
* add 'smarter' usage of gahter_timeout for parallel tasks
* restore async when needed, not always
* added typing
* parallelism tests
Diffstat (limited to 'changelogs/fragments')
-rw-r--r-- | changelogs/fragments/gather_facts_fix_parallel.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/changelogs/fragments/gather_facts_fix_parallel.yml b/changelogs/fragments/gather_facts_fix_parallel.yml new file mode 100644 index 0000000000..e33571c1a2 --- /dev/null +++ b/changelogs/fragments/gather_facts_fix_parallel.yml @@ -0,0 +1,4 @@ +bugfixes: + - gather_facts parallel option was doing the reverse of what was stated, now it does run modules in parallel when True and serially when False. +minor_changes: + - gather_facts now will use gather_timeout setting to limit parallel execution of modules that do not themselves use gather_timeout. |