Make local backup of pg_hba.conf file before modification

This commit is contained in:
Denys Havrysh
2017-01-13 12:09:45 +02:00
parent 98d39f296e
commit 79b83fe414
3 changed files with 26 additions and 11 deletions

View File

@@ -20,7 +20,6 @@ postgres:
conf_dir: /var/lib/pgsql/data
postgresconf: ""
postgresconf_backup: '.bak'
pg_hba.conf: salt://postgres/templates/pg_hba.conf.j2
acls:
@@ -31,6 +30,8 @@ postgres:
# IPv6 local connections:
- ['host', 'all', 'all', '::1/128', 'md5']
config_backup: '.bak'
service: postgresql
bake_image: False