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 cc93c4fe12

View file

@ -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