From 03c735a5219c52233b385b6835ef684f8b9ccb42 Mon Sep 17 00:00:00 2001 From: GomathiselviS Date: Thu, 21 Apr 2022 19:25:26 -0400 Subject: 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 --- changelogs/fragments/vyos_facts_remove_warning.yaml | 3 +++ plugins/modules/vyos_facts.py | 4 ---- 2 files changed, 3 insertions(+), 4 deletions(-) create mode 100644 changelogs/fragments/vyos_facts_remove_warning.yaml 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"): -- cgit v1.2.3