diff options
author | Brian Coca <bcoca@users.noreply.github.com> | 2024-12-17 16:19:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-17 16:19:43 +0100 |
commit | c64c38900768ad668d118861d6f7c993b98daacb (patch) | |
tree | bd929e0ff2ac38c9c862448e1ebec72093fc1e23 /changelogs/fragments/gather_facts_netos_fixes.yml | |
parent | uri: move follow_redirects to module_utils (#84442) (diff) | |
download | ansible-c64c38900768ad668d118861d6f7c993b98daacb.tar.xz ansible-c64c38900768ad668d118861d6f7c993b98daacb.zip |
gather_facts, fix 'smart' handling with network os and 'setup' (#84425)
gather_facts, fix network_os and smart logic and defaults
setup will be default for smart only if network_os is not set, now you get warnings and errors when missing a valid facts module for a network os
Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
Diffstat (limited to 'changelogs/fragments/gather_facts_netos_fixes.yml')
-rw-r--r-- | changelogs/fragments/gather_facts_netos_fixes.yml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/changelogs/fragments/gather_facts_netos_fixes.yml b/changelogs/fragments/gather_facts_netos_fixes.yml new file mode 100644 index 0000000000..77d021e0cf --- /dev/null +++ b/changelogs/fragments/gather_facts_netos_fixes.yml @@ -0,0 +1,3 @@ +bugfixes: + - gather_facts action will now issues errors and warnings as appropriate if a network OS is detected but no facts modules are defined for it. + - gather_facts action now defaults to `ansible.legacy.setup` if `smart` was set, no network OS was found and no other alias for `setup` was present. |