This commit is contained in:
Ludovic Cartier 2023-09-29 18:02:40 +02:00
parent 389447265a
commit ad2eb3d40b

View File

@ -12,8 +12,8 @@
- name: "{{ service }} | copy docker-compose file" - name: "{{ service }} | copy docker-compose file"
template: template:
src: compose/{{ service }}.yml.j2 src: compose/{{ service }}.yml.j2
dest: /opt/docker-compose/{{ service }}/docker-compose.yml dest: /opt/docker-compose/{{ service }}/docker-compose.yml
owner: root owner: root
group: root group: root
mode: 0644 mode: 0644
@ -23,7 +23,7 @@
- name: "{{ service }} | install unit file to systemd" - name: "{{ service }} | install unit file to systemd"
template: template:
src: systemd/docker-compose.service.j2 src: systemd/docker-compose.service.j2
dest: /etc/systemd/system/docker-compose@{{ service }}.service dest: /etc/systemd/system/docker-compose@{{ service }}.service
owner: root owner: root
group: root group: root
mode: 0600 mode: 0600