Browse Source

ensure docker.service.d exists

pull/461/head
Spencer Smith 8 years ago
parent
commit
a746d63177
1 changed files with 4 additions and 0 deletions
  1. 4
      roles/network_plugin/flannel/tasks/main.yml

4
roles/network_plugin/flannel/tasks/main.yml

@ -44,6 +44,10 @@
- restart docker
when: ansible_os_family != "CoreOS"
- name: Flannel | Create docker service path for CoreOS
file: path=/etc/systemd/system/docker.service.d state=directory
when: ansible_os_family == "CoreOS"
- name: Flannel | Create docker dropin for CoreOS
template:
src: docker-systemd

Loading…
Cancel
Save