瀏覽代碼

Merge pull request #1918 from dgoodwin/docker-restart

Use systemctl restart docker instead of ansible service.
Jason DeTiberus 9 年之前
父節點
當前提交
29969d36bb
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      playbooks/common/openshift-cluster/upgrades/v3_1_to_v3_2/docker_upgrade.yml

+ 2 - 1
playbooks/common/openshift-cluster/upgrades/v3_1_to_v3_2/docker_upgrade.yml

@@ -10,5 +10,6 @@
   register: docker_upgrade
 
 - name: Restart Docker
-  service: name=docker state=restarted
+  command: systemctl restart docker
   when: docker_upgrade | changed
+