@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
# -*- coding: utf-8 -*-
# Ansible module to manage Big Monitoring Fabric service chains
# Ansible module to manage Big Monitoring Fabric service chains
# (c) 2016, Ted Elhourani <ted@bigswitch.com> ,
# (c) 2016, Ted Elhourani <ted@bigswitch.com>
#
#
# This file is part of Ansible
# This file is part of Ansible
#
#
@ -53,11 +53,7 @@ options:
choices : [ true , false ]
choices : [ true , false ]
access_token :
access_token :
description :
description :
- Bigmon access token .
- Bigmon access token . If this isn ' t set the the environment variable C(BIGSWITCH_ACCESS_TOKEN) is used.
required : false
notes :
- An environment variable can be used , BIGSWITCH_ACCESS_TOKEN .
'''
'''
@ -67,6 +63,7 @@ EXAMPLES = '''
name : MyChain
name : MyChain
controller : ' {{ inventory_hostname }} '
controller : ' {{ inventory_hostname }} '
state : present
state : present
validate_certs : false
'''
'''
@ -144,8 +141,8 @@ def main():
name = dict ( type = ' str ' , required = True ) ,
name = dict ( type = ' str ' , required = True ) ,
controller = dict ( type = ' str ' , required = True ) ,
controller = dict ( type = ' str ' , required = True ) ,
state = dict ( choices = [ ' present ' , ' absent ' ] , default = ' present ' ) ,
state = dict ( choices = [ ' present ' , ' absent ' ] , default = ' present ' ) ,
validate_certs = dict ( type = ' bool ' , default = ' Fals e' ) ,
validate_certs = dict ( type = ' bool ' , default = ' Tru e' ) ,
access_token = dict ( aliases = [ ' BIGSWITCH_ACCESS_TOKEN ' ] , no_log = True )
access_token = dict ( type = ' str ' , no_log = True )
)
)
)
)