From fcef48b82dca998eb1b87d4902331d29b8900026 Mon Sep 17 00:00:00 2001 From: Andrew Butcher Date: Wed, 17 May 2017 11:21:17 -0400 Subject: Uninstall: restart docker when container-engine restart hasn't changed. --- playbooks/adhoc/uninstall.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'playbooks/adhoc') diff --git a/playbooks/adhoc/uninstall.yml b/playbooks/adhoc/uninstall.yml index 6119990fe..1c8257162 100644 --- a/playbooks/adhoc/uninstall.yml +++ b/playbooks/adhoc/uninstall.yml @@ -313,7 +313,7 @@ - name: restart docker service: name=docker state=restarted ignore_errors: true - when: "container_engine.state != 'started'" + when: not (container_engine | changed) - name: restart NetworkManager service: name=NetworkManager state=restarted -- cgit v1.2.3