tasks/config.yml: simplify the deployment of postgres.conf file
This commit is contained in:
parent
186ffab82f
commit
d3e46b2ac9
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue