Fix compose file permissions
This commit is contained in:
parent
fd056ba0fa
commit
43370eb837
@ -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:
|
||||||
|
Reference in New Issue
Block a user