summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGomathiselviS <gomathiselvi@gmail.com>2022-04-21 19:25:26 -0400
committerGitHub <noreply@github.com>2022-04-21 23:25:26 +0000
commit03c735a5219c52233b385b6835ef684f8b9ccb42 (patch)
tree9e6da7e76ac4500559d2d8a8d66d114fcd2ccd96
parent3677b7834a8cb735db9b7004563e74bc1ca74961 (diff)
downloadvyos-ansible-collection-03c735a5219c52233b385b6835ef684f8b9ccb42.tar.gz
vyos-ansible-collection-03c735a5219c52233b385b6835ef684f8b9ccb42.zip
Remove warning for default value of gather_subset from vyos_facts (#253)
Remove warning for default value of gather_subset from vyos_facts Signed-off-by: GomathiselviS gomathiselvi@gmail.com SUMMARY The warning is no more needed because the default value has been changed by #252 ISSUE TYPE Bugfix Pull Request Docs Pull Request Feature Pull Request New Module Pull Request COMPONENT NAME ADDITIONAL INFORMATION Reviewed-by: Nilashish Chakraborty <nilashishchakraborty8@gmail.com>
-rw-r--r--changelogs/fragments/vyos_facts_remove_warning.yaml3
-rw-r--r--plugins/modules/vyos_facts.py4
2 files changed, 3 insertions, 4 deletions
diff --git a/changelogs/fragments/vyos_facts_remove_warning.yaml b/changelogs/fragments/vyos_facts_remove_warning.yaml
new file mode 100644
index 0000000..5d4a75e
--- /dev/null
+++ b/changelogs/fragments/vyos_facts_remove_warning.yaml
@@ -0,0 +1,3 @@
+---
+trivial:
+ - "`vyos_facts` - Remove warning related to default value for gather_subset"
diff --git a/plugins/modules/vyos_facts.py b/plugins/modules/vyos_facts.py
index 951dbe9..8ff0609 100644
--- a/plugins/modules/vyos_facts.py
+++ b/plugins/modules/vyos_facts.py
@@ -165,10 +165,6 @@ def main():
)
warnings = []
- if module.params["gather_subset"] == "!config":
- warnings.append(
- "default value for `gather_subset` will be changed to `min` from `!config` v2.11 onwards"
- )
ansible_facts = {}
if module.params.get("available_network_resources"):