diff --git a/changelogs/fragments/516-whitespace-exos-config-defaults.yaml b/changelogs/fragments/516-whitespace-exos-config-defaults.yaml new file mode 100644 index 00000000..ee67b036 --- /dev/null +++ b/changelogs/fragments/516-whitespace-exos-config-defaults.yaml @@ -0,0 +1,2 @@ +bugfixes: + - "exos_config - missing whitespace in command with ``defaults: True``. It happened because the command is ``show configurationdetail`` instead of ``show configuration detail`` (https://github.com/ansible-collections/community.network/pull/516)." \ No newline at end of file diff --git a/plugins/modules/network/exos/exos_config.py b/plugins/modules/network/exos/exos_config.py index ca6a3ca9..ad589f61 100644 --- a/plugins/modules/network/exos/exos_config.py +++ b/plugins/modules/network/exos/exos_config.py @@ -323,7 +323,7 @@ def main(): result['warnings'] = warnings config = None - flags = ['detail'] if module.params['defaults'] else [] + flags = [' detail'] if module.params['defaults'] else [] diff_ignore_lines = module.params['diff_ignore_lines'] if module.params['backup'] or (module._diff and module.params['diff_against'] == 'running'):