diff --git a/lib/ansible/modules/network/junos/junos_config.py b/lib/ansible/modules/network/junos/junos_config.py index ef7a5f0419b..54486276428 100644 --- a/lib/ansible/modules/network/junos/junos_config.py +++ b/lib/ansible/modules/network/junos/junos_config.py @@ -62,7 +62,7 @@ options: first checking if already configured. required: false default: false - choices: BOOLEANS + choices: [ "true", "false" ] config: description: - The module, by default, will connect to the remote device and @@ -176,4 +176,3 @@ from ansible.module_utils.netcfg import * from ansible.module_utils.junos import * if __name__ == '__main__': main() - diff --git a/lib/ansible/modules/network/junos/junos_template.py b/lib/ansible/modules/network/junos/junos_template.py index 6635be9ae9b..6b1bdbb6e9f 100644 --- a/lib/ansible/modules/network/junos/junos_template.py +++ b/lib/ansible/modules/network/junos/junos_template.py @@ -45,7 +45,7 @@ options: without first checking if already configured. required: false default: false - choices: BOOLEANS + choices: [ "true", "false" ] backup: description: - When this argument is configured true, the module will backup @@ -54,7 +54,7 @@ options: the root of the playbook directory. required: false default: false - choices: BOOLEANS + choices: [ "true", "false" ] config: description: - The module, by default, will connect to the remote device and @@ -178,4 +178,3 @@ from ansible.module_utils.netcfg import * from ansible.module_utils.junos import * if __name__ == '__main__': main() -