diff --git a/database/mysql/mysql_replication.py b/database/mysql/mysql_replication.py index 1bbbb1688db..f61a6c09dd1 100644 --- a/database/mysql/mysql_replication.py +++ b/database/mysql/mysql_replication.py @@ -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),