diff --git a/lib/ansible/modules/network/junos/junos_command.py b/lib/ansible/modules/network/junos/junos_command.py index fd81285824e..faf6a4772e2 100644 --- a/lib/ansible/modules/network/junos/junos_command.py +++ b/lib/ansible/modules/network/junos/junos_command.py @@ -205,6 +205,10 @@ def parse(module, command_type): item['command_type'] = command_type + # show configuration [options] will return as text + if item['command'].startswith('show configuration'): + item['output'] = 'text' + parsed.append(item) return parsed