fix: deploy environment file
This commit is contained in:
parent
8c7732b555
commit
bd53dd525c
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user