diff --git a/playbooks/deploy-compose.yml b/playbooks/deploy-compose.yml index 2a93b98..19f0bce 100644 --- a/playbooks/deploy-compose.yml +++ b/playbooks/deploy-compose.yml @@ -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: