fix: deploy environment file

This commit is contained in:
Robert Kaussow 2023-02-18 16:01:45 +01:00
parent 8c7732b555
commit bd53dd525c
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0

View File

@ -49,6 +49,13 @@
state: directory state: directory
mode: "{{ item.mode }}" mode: "{{ item.mode }}"
- name: Write environment file
template:
src: etc/sysconfig/docker.j2
dest: /etc/sysconfig/docker
mode: 0600
notify: __docker_restart
- name: Write service override.conf - name: Write service override.conf
template: template:
src: etc/systemd/system/docker.service.d/override.conf.j2 src: etc/systemd/system/docker.service.d/override.conf.j2