diff --git a/lib/ansible/modules/network/bigswitch/bigmon_chain.py b/lib/ansible/modules/network/bigswitch/bigmon_chain.py index 6004578afaa..35c7b897d77 100755 --- a/lib/ansible/modules/network/bigswitch/bigmon_chain.py +++ b/lib/ansible/modules/network/bigswitch/bigmon_chain.py @@ -2,7 +2,7 @@ # -*- coding: utf-8 -*- # Ansible module to manage Big Monitoring Fabric service chains -# (c) 2016, Ted Elhourani , +# (c) 2016, Ted Elhourani # # This file is part of Ansible # @@ -53,11 +53,7 @@ options: choices: [true, false] access_token: description: - - Bigmon access token. - required: false - -notes: - - An environment variable can be used, BIGSWITCH_ACCESS_TOKEN. + - Bigmon access token. If this isn't set the the environment variable C(BIGSWITCH_ACCESS_TOKEN) is used. ''' @@ -67,6 +63,7 @@ EXAMPLES = ''' name: MyChain controller: '{{ inventory_hostname }}' state: present + validate_certs: false ''' @@ -144,8 +141,8 @@ def main(): name=dict(type='str', required=True), controller=dict(type='str', required=True), state=dict(choices=['present', 'absent'], default='present'), - validate_certs=dict(type='bool', default='False'), - access_token=dict(aliases=['BIGSWITCH_ACCESS_TOKEN'], no_log=True) + validate_certs=dict(type='bool', default='True'), + access_token=dict(type='str', no_log=True) ) )