diff options
author | Vadim Rutkovsky <vrutkovs@redhat.com> | 2018-02-07 14:57:31 +0100 |
---|---|---|
committer | Vadim Rutkovsky <vrutkovs@redhat.com> | 2018-02-07 16:52:02 +0100 |
commit | dfc952d8aa55e0c98cfb30d38ec4e2d7b9e416c2 (patch) | |
tree | 6156a8c0c4cc45cd9e3efa417edf3bd76862cc7d /playbooks | |
parent | 5e7eaaf7b8b30f8343b1564853b82c1e768f546e (diff) | |
download | openshift-dfc952d8aa55e0c98cfb30d38ec4e2d7b9e416c2.tar.gz openshift-dfc952d8aa55e0c98cfb30d38ec4e2d7b9e416c2.tar.bz2 openshift-dfc952d8aa55e0c98cfb30d38ec4e2d7b9e416c2.tar.xz openshift-dfc952d8aa55e0c98cfb30d38ec4e2d7b9e416c2.zip |
3.9 upgrade: fix typos in restart masters procedure
* 'rolling_restart_mode' should be 'services', not 'service'
* use 'state: restarted' to properly restart services
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.yml | 4 |
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" |