From a746d63177d5b5ddd5b660eff293ebe50d56a85c Mon Sep 17 00:00:00 2001 From: Spencer Smith Date: Tue, 30 Aug 2016 09:34:34 -0700 Subject: [PATCH] ensure docker.service.d exists --- roles/network_plugin/flannel/tasks/main.yml | 4 ++++ 1 file changed, 4 insertions(+) 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