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 - name: Create PostgreSQL config file
template: template:
src: '{{ item }}' src: 'templates/postgresql.conf'
dest: '{{ postgres_ha_cont_data_vol }}/{{ item | basename }}' dest: '{{ postgres_ha_cont_data_vol }}/{{ item | basename }}'
owner: '{{ postgres_ha_host_uid }}' owner: '{{ postgres_ha_host_uid }}'
group: 'dockremap' group: 'dockremap'
mode: 0660 mode: 0660
register: postgres_ha_postgres_config_file with_items:
with_fileglob:
- 'templates/postgresql.conf' - 'templates/postgresql.conf'
- name: Create dbinit SQL files - name: Create dbinit SQL files