diff --git a/lib/ansible/modules/extras/database/mysql/mysql_replication.py b/lib/ansible/modules/extras/database/mysql/mysql_replication.py index 0ed9f5b1340..92d98fe3b2b 100644 --- a/lib/ansible/modules/extras/database/mysql/mysql_replication.py +++ b/lib/ansible/modules/extras/database/mysql/mysql_replication.py @@ -112,7 +112,6 @@ options: master_auto_position: descrtiption: - does the host uses GTID based replication or not - possible values: 0,1 ''' EXAMPLES = ''' @@ -245,7 +244,7 @@ def main(): login_port=dict(default=3306, type='int'), 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),