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

View File

@ -51,14 +51,17 @@
path: "{{ omni_docker_configs }}/{{ _runtime_application }}" path: "{{ omni_docker_configs }}/{{ _runtime_application }}"
state: directory state: directory
owner: "{{ ansible_user }}" owner: "{{ ansible_user }}"
group: "{{ ansible_user }}" group: docker
mode: 0700 mode: 0750
- name: Install docker-compose file - name: Install docker-compose file
become: true become: true
template: template:
src: docker-compose/bitwarden.yaml.j2 src: docker-compose/{{ _runtime_application }}.yaml.j2
dest: "{{ omni_docker_configs }}/{{ _runtime_application }}/docker-compose.yaml" dest: "{{ omni_docker_configs }}/{{ _runtime_application }}/docker-compose.yaml"
owner: "{{ ansible_user }}"
group: docker
mode: 0640
- name: Deploy the stack - name: Deploy the stack
docker_stack: docker_stack: