Joshua Boniface
1f34427a0c
Add user as well
2023-12-10 03:05:11 -05:00
Joshua Boniface
c7d914696b
Add configuration for Postgres Prom exporter
2023-12-10 02:53:11 -05:00
Joshua Boniface
353399a407
Ensure core pg_hba entries are present
2023-09-01 15:42:30 -04:00
Joshua Boniface
b21778f117
Fix Patroni upgrade and D12 support
2023-09-01 15:42:30 -04:00
Joshua Boniface
1838f8ff56
Add proper PostgreSQL versioning
2023-09-01 15:42:28 -04:00
Joshua Boniface
d24cb8a8ef
Unify and standardize inventory_hostname
...
This was causing some confusing conflicts, so create a new fact called
"this_node" which is inventory_hostname.split('.')[0], i.e. the short
name, and use that everywhere instead of an FQDN or true inventory
hostname.
2023-09-01 15:42:28 -04:00
Joshua Boniface
31a677b444
Fix Patroni ACL to use subnet mask
2023-09-01 15:42:26 -04:00
Joshua Boniface
388db6ad1d
Use IPs for Patroni configuration
2023-09-01 15:42:26 -04:00
Joshua Boniface
a77e41bf7c
Remove invalid timezone entries in postgres conf
2023-09-01 15:42:25 -04:00
Joshua Boniface
92ccc0a737
Use consistent naming in patroni.yml
2023-09-01 15:42:23 -04:00
Joshua Boniface
45185c5a16
Change Patroni scope to just pvc
2023-09-01 15:42:22 -04:00
Joshua Boniface
7689e659fe
Make vacuum script more comprehensive
2023-09-01 15:42:21 -04:00
Joshua Boniface
2e0d5c9d44
Improve daily vacuum script
2023-09-01 15:42:21 -04:00
Joshua Boniface
c0acd3e994
Add daily Postgres vacuum script
2023-09-01 15:42:21 -04:00
Joshua Boniface
36657e28f9
Add quote around ZK nodes in Patroni
2023-09-01 15:42:21 -04:00
Joshua Boniface
c5b07fcdad
Add only coordinators in Patroni config
2023-09-01 15:42:21 -04:00
Joshua Boniface
e118267843
Set nicer default Patroni values re: replication
2023-09-01 15:42:20 -04:00
Joshua Boniface
8fbbce3d16
Make things even nicer
2023-09-01 15:42:19 -04:00
Joshua Boniface
6dfaf433dc
Initial commit of PVC Ansible role
2023-09-01 15:42:19 -04:00