From d3e46b2ac965e02448a15e32b5a4faac1639ce7f Mon Sep 17 00:00:00 2001 From: Ivan Folgueira Bande Date: Mon, 24 Jun 2024 18:33:42 +0200 Subject: [PATCH] tasks/config.yml: simplify the deployment of postgres.conf file --- tasks/config.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tasks/config.yml b/tasks/config.yml index 74fc672..b60af50 100644 --- a/tasks/config.yml +++ b/tasks/config.yml @@ -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