Merge pull request #801 from rsmitty/issue-800

create systemd drop-in path if not existent
This commit is contained in:
Bogdan Dobrelya 2016-12-22 11:02:05 +01:00 committed by GitHub
commit b8590a13c8

View file

@ -70,6 +70,13 @@
- Flannel | restart docker
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
template:
src: flannel-options.conf.j2