From 06235439435396c852535c2569542939bf65ef43 Mon Sep 17 00:00:00 2001 From: Rohit Date: Mon, 1 Jun 2020 13:05:52 +0530 Subject: [VyOS: ]all modules updated with FQCN and new doc changes (#33) [VyOS: ]all modules updated with FQCN and new doc changes Reviewed-by: https://github.com/apps/ansible-zuul --- plugins/modules/vyos_facts.py | 33 ++++++++++++++------------------- 1 file changed, 14 insertions(+), 19 deletions(-) (limited to 'plugins/modules/vyos_facts.py') diff --git a/plugins/modules/vyos_facts.py b/plugins/modules/vyos_facts.py index 72b191c..7521a3b 100644 --- a/plugins/modules/vyos_facts.py +++ b/plugins/modules/vyos_facts.py @@ -8,20 +8,15 @@ The module file for vyos_facts """ -ANSIBLE_METADATA = { - "metadata_version": "1.1", - "status": [u"preview"], - "supported_by": "network", -} - - -DOCUMENTATION = """module: vyos_facts +DOCUMENTATION = """ +module: vyos_facts short_description: Get facts about vyos devices. description: - Collects facts from network devices running the vyos operating system. This module places the facts gathered in the fact tree keyed by the respective resource name. The facts module will always collect a base set of facts from the device and can enable or disable collection of additional facts. +version_added: 1.0.0 author: - Nathaniel Case (@qalthos) - Nilashish Chakraborty (@Nilashishc) @@ -54,33 +49,33 @@ options: EXAMPLES = """ # Gather all facts -- vyos_facts: +- vyos.vyos.vyos_facts: gather_subset: all gather_network_resources: all # collect only the config and default facts -- vyos_facts: +- vyos.vyos.vyos_facts: gather_subset: config # collect everything exception the config -- vyos_facts: - gather_subset: "!config" +- vyos.vyos.vyos_facts: + gather_subset: '!config' # Collect only the interfaces facts -- vyos_facts: +- vyos.vyos.vyos_facts: gather_subset: - - '!all' - - '!min' + - '!all' + - '!min' gather_network_resources: - - interfaces + - interfaces # Do not collect interfaces facts -- vyos_facts: +- vyos.vyos.vyos_facts: gather_network_resources: - - "!interfaces" + - '!interfaces' # Collect interfaces and minimal default facts -- vyos_facts: +- vyos.vyos.vyos_facts: gather_subset: min gather_network_resources: interfaces """ -- cgit v1.2.3