Skip to content

Commit

Permalink
Update config_pgcluster.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
vitabaks committed Nov 19, 2023
1 parent 0a817bb commit 68fd76e
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions config_pgcluster.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
---
- name: config_pgcluster.yml | Configuration PostgreSQL HA Cluster (based on "Patroni")
hosts: localhost
gather_facts: true
any_errors_fatal: true
pre_tasks:
- name: Include main variables
ansible.builtin.include_vars: "vars/main.yml"
tags: always
roles:
- role: cloud-resources
when: provision | lower != 'none'
tags: always

- name: config_pgcluster.yml | Check the PostgreSQL cluster state and perform pre-checks
hosts: postgres_cluster
become: true
become_method: sudo
Expand Down

0 comments on commit 68fd76e

Please sign in to comment.