The initialization script must be executable.

This commit is contained in:
Andrea Dell'Amico 2020-10-14 15:03:37 +02:00
parent aae3ff22dd
commit 3a8cbc2a6a
1 changed files with 1 additions and 1 deletions

View File

@ -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