فهرست منبع

Use systemctl restart docker instead of ansible service.

Ansible is doing a full service stop and then start, which does not
allow systemd to keep the containerized services up and running.
Switching to this will cause the related services to come back within a
few seconds.
Devan Goodwin 9 سال پیش
والد
کامیت
8ba56454ca
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
+