From 0bd95d0f2dcd4bf3ac3848233cdbcbb2c2045b0e Mon Sep 17 00:00:00 2001 From: Sam Wilson Date: Wed, 2 Mar 2016 08:38:35 +1100 Subject: [PATCH] Fixed BOOLEANS rendering in docsite --- lib/ansible/modules/network/junos/junos_config.py | 3 +-- lib/ansible/modules/network/junos/junos_template.py | 5 ++--- 2 files changed, 3 insertions(+), 5 deletions(-) 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() -