The role will work out of the box, with standard master-slave replication, with no configuration needed. Check defaults/main.yml for optional config vars. repmgr is an open-source tool suite for ...