ソースを参照

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

Uninstall: only restart docker on node hosts.
Brenton Leanhardt 9 年 前
コミット
e73a14cae1
1 ファイル変更3 行追加0 行削除
  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