This commit is contained in:
parent
d8a4438b3c
commit
fa1a56824e
|
@ -8,3 +8,9 @@
|
||||||
template:
|
template:
|
||||||
src: override.conf.j2
|
src: override.conf.j2
|
||||||
dest: /etc/systemd/system/containerd.service.d/override.conf
|
dest: /etc/systemd/system/containerd.service.d/override.conf
|
||||||
|
register: override_template
|
||||||
|
|
||||||
|
- name: Reload systemd daemon if template is changed.
|
||||||
|
systemd:
|
||||||
|
daemon_reload: true
|
||||||
|
when: override_template is changed
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
|
# {{ ansible_managed }}
|
||||||
[Service]
|
[Service]
|
||||||
ExecStartPre=
|
ExecStartPre=
|
||||||
|
|
Loading…
Reference in New Issue
Block a user