From 17b3e7997183ab6cb661707ed25eff1273a3f191 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Leo=CC=81n?= Date: Mon, 27 Jun 2016 16:51:33 +0200 Subject: [PATCH] Restart Docker daemon when a change to the daemon config file is done --- tasks/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tasks/main.yml b/tasks/main.yml index 950d8aa..d8968fd 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -15,6 +15,8 @@ - name: ensure daemon config file is present template: src=daemon.j2.json dest=/etc/docker/daemon.json + notify: + - restart docker - name: ensure unit file is present & up to date copy: src=files/docker.service dest=/usr/lib/systemd/system/docker.service