summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGomathiselviS <gomathiselvi@gmail.com>2022-04-20 23:56:19 -0400
committerGitHub <noreply@github.com>2022-04-21 03:56:19 +0000
commit3677b7834a8cb735db9b7004563e74bc1ca74961 (patch)
tree4c5017646e608c3d751c487606571d4cc3ae9b71 /plugins
parent507955aeda83492dab7f2d5f9b695f7bd4043e35 (diff)
downloadvyos.vyos-3677b7834a8cb735db9b7004563e74bc1ca74961.tar.gz
vyos.vyos-3677b7834a8cb735db9b7004563e74bc1ca74961.zip
change default subset to min (#252)
vyos_facts: change default subset to min Signed-off-by: GomathiselviS gomathiselvi@gmail.com SUMMARY Fixes #231 ISSUE TYPE Bugfix Pull Request COMPONENT NAME ADDITIONAL INFORMATION Reviewed-by: Nathaniel Case <this.is@nathanielca.se>
Diffstat (limited to 'plugins')
-rw-r--r--plugins/module_utils/network/vyos/argspec/facts/facts.py4
-rw-r--r--plugins/modules/vyos_facts.py4
2 files changed, 3 insertions, 5 deletions
diff --git a/plugins/module_utils/network/vyos/argspec/facts/facts.py b/plugins/module_utils/network/vyos/argspec/facts/facts.py
index efd98e36..45a4cb49 100644
--- a/plugins/module_utils/network/vyos/argspec/facts/facts.py
+++ b/plugins/module_utils/network/vyos/argspec/facts/facts.py
@@ -16,9 +16,7 @@ class FactsArgs(object): # pylint: disable=R0903
pass
argument_spec = {
- "gather_subset": dict(
- default=["!config"], type="list", elements="str"
- ),
+ "gather_subset": dict(default=["min"], type="list", elements="str"),
"gather_network_resources": dict(type="list", elements="str"),
"available_network_resources": {"type": "bool", "default": False},
}
diff --git a/plugins/modules/vyos_facts.py b/plugins/modules/vyos_facts.py
index ef19ec09..951dbe9b 100644
--- a/plugins/modules/vyos_facts.py
+++ b/plugins/modules/vyos_facts.py
@@ -33,11 +33,11 @@ options:
gather_subset:
description:
- When supplied, this argument will restrict the facts collected to a given subset. Possible
- values for this argument include all, default, config, and neighbors. Can specify
+ values for this argument include C(all), C(default), C(config), C(neighbors) and C(min). Can specify
a list of values to include a larger subset. Values can also be used with an
initial C(!) to specify that a specific subset should not be collected.
required: false
- default: '!config'
+ default: 'min'
type: list
elements: str
gather_network_resources: