Browse Source

Merge pull request #987 from abutcher/uninstall-restart-docker

Uninstall: only restart docker on node hosts.
Brenton Leanhardt 9 years ago
parent
commit
e73a14cae1
1 changed files with 3 additions and 0 deletions
  1. 3 0
      playbooks/adhoc/uninstall.yml

+ 3 - 0
playbooks/adhoc/uninstall.yml

@@ -181,5 +181,8 @@
     - name: Reload systemd manager configuration
       command: systemctl daemon-reload
 
+- hosts: nodes
+  sudo: yes
+  tasks:
     - name: restart docker
       service: name=docker state=restarted