Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add_pgnode.yml: Fix the list of hosts to configure pgbackrest #517

Merged
merged 1 commit into from
Nov 28, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions add_pgnode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@
changed_when: false
tags: always

- name: add_pgnode.yml | Add new PostgreSQL node to the cluster
- name: add_pgnode.yml | Configure new PostgreSQL node
hosts: new_replica
become: true
become_method: sudo
Expand Down Expand Up @@ -168,9 +168,10 @@
- role: timezone
- role: ntp
- role: copy
- role: cron

- name: add_pgnode.yml | Add new PostgreSQL node with pgBackRest to the cluster
hosts: pgbackrest:new_replica
- name: add_pgnode.yml | Configure pgBackRest
hosts: pgbackrest:postgres_cluster
become: true
become_method: sudo
gather_facts: true
Expand All @@ -193,7 +194,7 @@
when: dcs_type == "consul"
tags: consul

- name: add_pgnode.yml | Configure new replica and additional roles
- name: add_pgnode.yml | Add new PostgreSQL replica to the cluster
hosts: new_replica
become: true
become_method: sudo
Expand Down Expand Up @@ -222,8 +223,6 @@
- role: pg_probackup
when: pg_probackup_install|bool

- role: cron

- role: pgbouncer
when: pgbouncer_install|bool

Expand Down