From 3a8cbc2a6abd8628d2457ffb19c7ddf33f7b94c6 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Wed, 14 Oct 2020 15:03:37 +0200 Subject: [PATCH] The initialization script must be executable. --- tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/main.yml b/tasks/main.yml index 498255f..01aaa3e 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -5,7 +5,7 @@ file: dest={{ open_asfa_compose_dir }} state=directory - name: Install the DB initialization script - template: src=pg-create-user-db.sh.j2 dest={{ open_asfa_compose_dir }}/pg-create-user-db.sh owner=root group=root mode='0440' + template: src=pg-create-user-db.sh.j2 dest={{ open_asfa_compose_dir }}/pg-create-user-db.sh owner=root group=root mode='0500' run_once: True when: open_asfa_docker_db_node is defined and open_asfa_docker_db_node