Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
FLiPp3r90 authored Feb 26, 2020
1 parent 16dc772 commit e80d654
Showing 1 changed file with 7 additions and 16 deletions.
23 changes: 7 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,42 +28,33 @@ In the playbook for the master:
```yaml
- hosts: db
roles:
<<<<<<< HEAD
- repmgr
- ansible-repmgr
vars:
repmgr_install_only: True

- hosts: db
roles:
- role: postgresql
- role: repmgr
- role: anxs/postgresql
- role: ansible-repmgr
vars:
=======
- role: ansible-repmgr
repmgr_is_master: yes
>>>>>>> master
repmgr_node_id: 1
repmgr_is_master: True
repmgr_node_id: 1
```
In the playbook for the slave:
```yaml
- hosts: db
roles:
- repmgr
- ansible-repmgr
vars:
repmgr_install_only: True

- hosts: db
roles:
<<<<<<< HEAD
- role: postgresql
- role: repmgr
- role: anxs/postgresql
- role: ansible-repmgr
vars:
=======
- role: ansible-repmgr
>>>>>>> master
repmgr_node_id: 2
repmgr_clone_standby: True
repmgr_register_standby: True
Expand Down

0 comments on commit e80d654

Please sign in to comment.