To start FULL installation - configure all vars/main.yml, invenotry.yml files and hosts in init.yml, then make sure that your user is a member of sudo group.
After that use following command:
ansible-playbook init.ymlBefore start, you can check replication mode at your servers. For that configure all vars/main.yml and invenotry.yml files
After that use following command:
ansible-playbook init.yml --tags postgresql_replication_masterAlso, after reading the names of the roles, you can perform the necessary tasks separately using tags without starting the entire playbook
E.G. For install postgres:
ansible-playbook init.yml --tags postgresql_installE.G. For configure replication only at master server:
ansible-playbook init.yml --tags postgresql_replication_master