From d5ad3093d66cc550b7c2fff3a49268f4dc05a5e8 Mon Sep 17 00:00:00 2001 From: Ganesh Nalawade Date: Tue, 30 May 2017 22:39:09 +0530 Subject: [PATCH] Add config_format note in junos_facts docs (#25125) Fixes #24610 Add note to mention config_format value dependency. --- lib/ansible/modules/network/junos/junos_facts.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/ansible/modules/network/junos/junos_facts.py b/lib/ansible/modules/network/junos/junos_facts.py index 7f40d866c86..b90191aa797 100644 --- a/lib/ansible/modules/network/junos/junos_facts.py +++ b/lib/ansible/modules/network/junos/junos_facts.py @@ -51,10 +51,15 @@ options: - The I(config_format) argument specifies the format of the configuration when serializing output from the device. This argument is applicable only when C(config) value is present in I(gather_subset). + The I(config_format) should be supported by the junos version running on + device. required: false default: text choices: ['xml', 'set', 'text', 'json'] version_added: "2.3" +notes: + - Ensure I(config_format) used to retrieve configuration from device + is supported by junos version running on device. """ EXAMPLES = """