summaryrefslogtreecommitdiffstats
path: root/playbooks
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2018-02-07 11:27:11 -0800
committerGitHub <noreply@github.com>2018-02-07 11:27:11 -0800
commite4cbec17b2a2913c38c67f913c739b5f0772d0dd (patch)
treee3501b939591d34ab3eab3027627c01237ddc6f2 /playbooks
parent7061d6d06221796b314d59893cd03516bd0f896a (diff)
parentdfc952d8aa55e0c98cfb30d38ec4e2d7b9e416c2 (diff)
downloadopenshift-e4cbec17b2a2913c38c67f913c739b5f0772d0dd.tar.gz
openshift-e4cbec17b2a2913c38c67f913c739b5f0772d0dd.tar.bz2
openshift-e4cbec17b2a2913c38c67f913c739b5f0772d0dd.tar.xz
openshift-e4cbec17b2a2913c38c67f913c739b5f0772d0dd.zip
Merge pull request #7052 from vrutkovs/rolling_restart_mode
Automatic merge from submit-queue. 3.9 upgrade: fix typos in restart masters procedure * 'rolling_restart_mode' should be 'services', not 'service' * use 'state: restarted' to properly restart services Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1540054 Signed-off-by: Vadim Rutkovsky <vrutkovs@redhat.com>
Diffstat (limited to 'playbooks')
-rw-r--r--playbooks/common/openshift-cluster/upgrades/v3_9/upgrade_control_plane.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/playbooks/common/openshift-cluster/upgrades/v3_9/upgrade_control_plane.yml b/playbooks/common/openshift-cluster/upgrades/v3_9/upgrade_control_plane.yml
index 8792295c6..d0ed46a18 100644
--- a/playbooks/common/openshift-cluster/upgrades/v3_9/upgrade_control_plane.yml
+++ b/playbooks/common/openshift-cluster/upgrades/v3_9/upgrade_control_plane.yml
@@ -125,8 +125,8 @@
- name: Restart master controllers to force new leader election mode
service:
name: "{{ openshift_service_type }}-master-controllers"
- state: restart
- when: openshift.common.rolling_restart_mode == 'service'
+ state: restarted
+ when: openshift.common.rolling_restart_mode == 'services'
- name: Re-enable master controllers to force new leader election mode
service:
name: "{{ openshift_service_type }}-master-controllers"