Browse Source

Correct service restart command

Scott Dodson 7 năm trước cách đây
mục cha
commit
89d7485d03
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      roles/openshift_logging/handlers/main.yml

+ 1 - 1
roles/openshift_logging/handlers/main.yml

@@ -6,7 +6,7 @@
 
 # We retry the controllers because the API may not be 100% initialized yet.
 - name: restart master controllers
-  command: "{{ openshift.common.service_type }}-master-controllers"
+  command: "systemctl restart {{ openshift.common.service_type }}-master-controllers"
   retries: 3
   delay: 5
   register: result