Fix compose file permissions
This commit is contained in:
parent
fd056ba0fa
commit
43370eb837
@ -51,14 +51,17 @@
|
||||
path: "{{ omni_docker_configs }}/{{ _runtime_application }}"
|
||||
state: directory
|
||||
owner: "{{ ansible_user }}"
|
||||
group: "{{ ansible_user }}"
|
||||
mode: 0700
|
||||
group: docker
|
||||
mode: 0750
|
||||
|
||||
- name: Install docker-compose file
|
||||
become: true
|
||||
template:
|
||||
src: docker-compose/bitwarden.yaml.j2
|
||||
src: docker-compose/{{ _runtime_application }}.yaml.j2
|
||||
dest: "{{ omni_docker_configs }}/{{ _runtime_application }}/docker-compose.yaml"
|
||||
owner: "{{ ansible_user }}"
|
||||
group: docker
|
||||
mode: 0640
|
||||
|
||||
- name: Deploy the stack
|
||||
docker_stack:
|
||||
|
Reference in New Issue
Block a user