diff --git a/roles/network_plugin/flannel/tasks/main.yml b/roles/network_plugin/flannel/tasks/main.yml index 531038d1a..a6fa183ef 100644 --- a/roles/network_plugin/flannel/tasks/main.yml +++ b/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