From: David Galloway Date: Mon, 7 Dec 2020 17:59:34 +0000 (-0500) Subject: container-host: Fix service restart syntax X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F598%2Fhead;p=ceph-cm-ansible.git container-host: Fix service restart syntax Signed-off-by: David Galloway --- diff --git a/roles/container-host/tasks/container_mirror.yml b/roles/container-host/tasks/container_mirror.yml index 1a6877b..d99d1a3 100644 --- a/roles/container-host/tasks/container_mirror.yml +++ b/roles/container-host/tasks/container_mirror.yml @@ -38,6 +38,7 @@ # not very elegant but it's a workaround for now - name: Restart docker service - service: docker + service: + name: docker state: restarted when: "'docker.io' in container_packages"