Yesterday I put some new features into ansible’s mysql_replication module because we are planning to move to GTID-based replication from the good old binlog position based one, and the module wasn’t aware of GTIDs.
gtid_replication
This parameter can be either 0 or 1, defaults to 0. If set to 1 the replication will be treated as GTID-based replication.
warnings_filtered
This parameter threats the warnings because MySQL 5.6 complains a lot more than the previous versions. (For example, if the replication is not encrypted with SSL/TLS.) This could break our playbooks so you can set it to all, warnings, none (defaults none). Speaks for itself, all means all warnings/errors will be shown, if warnings set, then only the errors will be shown, and the warnings suppressed, and if none then that means, every message will show up as-is.
If you need it, and you don’t want to wait until it is merged and released, you can download it from my GitHub repository.
