Jelajahi Sumber

Merge pull request #3380 from ingvagabund/initialize-nodes-to-upgrade-when-running-control-plane-upgrade-only

initialize oo_nodes_to_upgrade group when running control plane upgrade only
Scott Dodson 8 tahun lalu
induk
melakukan
bdbb8d2ec6

+ 3 - 0
playbooks/byo/openshift-cluster/upgrades/v3_3/upgrade_control_plane.yml

@@ -25,6 +25,9 @@
       openshift_upgrade_min: "{{ '1.2' if deployment_type == 'origin' else '3.2' }}"
 
 # Pre-upgrade
+- include: ../../../../common/openshift-cluster/upgrades/initialize_nodes_to_upgrade.yml
+  tags:
+  - pre_upgrade
 
 - name: Update repos on control plane hosts
   hosts: oo_masters_to_config:oo_etcd_to_config:oo_lb_to_config

+ 3 - 0
playbooks/byo/openshift-cluster/upgrades/v3_4/upgrade_control_plane.yml

@@ -25,6 +25,9 @@
       openshift_upgrade_min: "{{ '1.3' if deployment_type == 'origin' else '3.3' }}"
 
 # Pre-upgrade
+- include: ../../../../common/openshift-cluster/upgrades/initialize_nodes_to_upgrade.yml
+  tags:
+  - pre_upgrade
 
 - name: Update repos on control plane hosts
   hosts: oo_masters_to_config:oo_etcd_to_config:oo_lb_to_config

+ 3 - 0
playbooks/byo/openshift-cluster/upgrades/v3_5/upgrade_control_plane.yml

@@ -25,6 +25,9 @@
       openshift_upgrade_min: "{{ '1.4' if deployment_type == 'origin' else '3.4' }}"
 
 # Pre-upgrade
+- include: ../../../../common/openshift-cluster/upgrades/initialize_nodes_to_upgrade.yml
+  tags:
+  - pre_upgrade
 
 - name: Update repos on control plane hosts
   hosts: oo_masters_to_config:oo_etcd_to_config:oo_lb_to_config