Merge pull request #801 from rsmitty/issue-800
create systemd drop-in path if not existent
This commit is contained in:
commit
cc93c4fe12
1 changed files with 7 additions and 0 deletions
|
@ -70,6 +70,13 @@
|
||||||
- Flannel | restart docker
|
- Flannel | restart docker
|
||||||
when: ansible_service_mgr in ["sysvinit","upstart"]
|
when: ansible_service_mgr in ["sysvinit","upstart"]
|
||||||
|
|
||||||
|
- name: Flannel | Ensure path for docker network systemd drop-in
|
||||||
|
file:
|
||||||
|
path: "/etc/systemd/system/docker.service.d"
|
||||||
|
state: directory
|
||||||
|
owner: root
|
||||||
|
when: ansible_service_mgr == "systemd"
|
||||||
|
|
||||||
- name: Flannel | Create docker network systemd drop-in
|
- name: Flannel | Create docker network systemd drop-in
|
||||||
template:
|
template:
|
||||||
src: flannel-options.conf.j2
|
src: flannel-options.conf.j2
|
||||||
|
|
Loading…
Reference in a new issue