diff --git a/changelogs/fragments/104_facts_export_verbose.yml b/changelogs/fragments/104_facts_export_verbose.yml new file mode 100644 index 0000000..add2a1d --- /dev/null +++ b/changelogs/fragments/104_facts_export_verbose.yml @@ -0,0 +1,2 @@ +minor_changes: + - facts - set configuration export on to verbose, for full configuration export (https://github.com/ansible-collections/community.network/pull/104). diff --git a/plugins/modules/facts.py b/plugins/modules/facts.py index 0f46e5a..9230af2 100644 --- a/plugins/modules/facts.py +++ b/plugins/modules/facts.py @@ -284,7 +284,7 @@ class Hardware(FactsBase): class Config(FactsBase): - COMMANDS = ['/export'] + COMMANDS = ['/export verbose'] def populate(self): super(Config, self).populate() diff --git a/tests/unit/plugins/modules/fixtures/facts/export b/tests/unit/plugins/modules/fixtures/facts/export_verbose similarity index 100% rename from tests/unit/plugins/modules/fixtures/facts/export rename to tests/unit/plugins/modules/fixtures/facts/export_verbose