From 04ae977f39c2dc86b4f0aeb3f906b9ff5d02c380 Mon Sep 17 00:00:00 2001 From: Ganesh Nalawade Date: Fri, 21 Apr 2017 18:58:38 +0530 Subject: [PATCH] Fix display argument defualt value (#23859) --- lib/ansible/modules/network/junos/junos_command.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/ansible/modules/network/junos/junos_command.py b/lib/ansible/modules/network/junos/junos_command.py index 651374c9fc..0df34faeea 100644 --- a/lib/ansible/modules/network/junos/junos_command.py +++ b/lib/ansible/modules/network/junos/junos_command.py @@ -94,9 +94,11 @@ options: description: - Encoding scheme to use when serializing output from the device. This handles how to properly understand the output and apply the - conditionals path to the result set. + conditionals path to the result set. For I(rpcs) argument default + display is C(xml) and for I(commands) argument default display + is C(text). required: false - default: 'text' + default: depends on input argument I(rpcs) or I(commands) aliases: ['format', 'output'] choices: ['text', 'json', 'xml'] version_added: "2.3"