ソースを参照

Uninstall: only restart docker on node hosts.

Andrew Butcher 9 年 前
コミット
4cdca35953
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