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