Fix compose file permissions

This commit is contained in:
Ethan Paul 2020-12-08 22:41:29 -05:00
parent fd056ba0fa
commit 43370eb837
No known key found for this signature in database
GPG Key ID: C5F5542B54A4D9C6
1 changed files with 6 additions and 3 deletions

View File

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