tasks/config.yml: simplify the deployment of postgres.conf file

This commit is contained in:
Ivan Folgueira Bande 2024-06-24 18:33:42 +02:00
parent 186ffab82f
commit d3e46b2ac9
No known key found for this signature in database
GPG Key ID: 3C117481F89E24A7
1 changed files with 2 additions and 3 deletions

View File

@ -14,13 +14,12 @@
- name: Create PostgreSQL config file
template:
src: '{{ item }}'
src: 'templates/postgresql.conf'
dest: '{{ postgres_ha_cont_data_vol }}/{{ item | basename }}'
owner: '{{ postgres_ha_host_uid }}'
group: 'dockremap'
mode: 0660
register: postgres_ha_postgres_config_file
with_fileglob:
with_items:
- 'templates/postgresql.conf'
- name: Create dbinit SQL files