Changes made as modifying master_auto_position parameter type to bool

This commit is contained in:
Balazs Pocze 2015-04-15 13:45:26 -07:00
parent 14cf26f520
commit c2ae5d8e4c

View file

@ -106,7 +106,6 @@ options:
master_auto_position:
descrtiption:
- does the host uses GTID based replication or not
possible values: 0,1
'''
EXAMPLES = '''
@ -235,7 +234,7 @@ def main():
login_host=dict(default="localhost"),
login_unix_socket=dict(default=None),
mode=dict(default="getslave", choices=["getmaster", "getslave", "changemaster", "stopslave", "startslave"]),
master_auto_position=dict(default=None, choices=['0', '1']),
master_auto_position=dict(default=False, type='bool'),
master_host=dict(default=None),
master_user=dict(default=None),
master_password=dict(default=None),