summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster/upgrades/v3_10/upgrade_nodes.yml
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2018-02-05 14:31:47 -0500
committerScott Dodson <sdodson@redhat.com>2018-02-05 15:09:07 -0500
commit5402ff05c7f5695bbe60cb6966e57a038c4fe1c0 (patch)
tree5dfc6f4d0df5bd4d455a09efd1f3914bf76cf9d6 /playbooks/common/openshift-cluster/upgrades/v3_10/upgrade_nodes.yml
parent90f577883066f7213afca2a1159c69cabece57dc (diff)
downloadopenshift-5402ff05c7f5695bbe60cb6966e57a038c4fe1c0.tar.gz
openshift-5402ff05c7f5695bbe60cb6966e57a038c4fe1c0.tar.bz2
openshift-5402ff05c7f5695bbe60cb6966e57a038c4fe1c0.tar.xz
openshift-5402ff05c7f5695bbe60cb6966e57a038c4fe1c0.zip
Initial support for 3.10
Diffstat (limited to 'playbooks/common/openshift-cluster/upgrades/v3_10/upgrade_nodes.yml')
-rw-r--r--playbooks/common/openshift-cluster/upgrades/v3_10/upgrade_nodes.yml35
1 files changed, 35 insertions, 0 deletions
diff --git a/playbooks/common/openshift-cluster/upgrades/v3_10/upgrade_nodes.yml b/playbooks/common/openshift-cluster/upgrades/v3_10/upgrade_nodes.yml
new file mode 100644
index 000000000..eea1b250e
--- /dev/null
+++ b/playbooks/common/openshift-cluster/upgrades/v3_10/upgrade_nodes.yml
@@ -0,0 +1,35 @@
+---
+#
+# Node Upgrade Playbook
+#
+# Upgrades nodes only, but requires the control plane to have already been upgraded.
+#
+- import_playbook: ../init.yml
+
+- name: Configure the upgrade target for the common upgrade tasks
+ hosts: oo_all_hosts
+ tasks:
+ - set_fact:
+ openshift_upgrade_target: '3.10'
+ openshift_upgrade_min: '3.9'
+ openshift_release: '3.10'
+
+- import_playbook: ../pre/config.yml
+ vars:
+ l_upgrade_repo_hosts: "oo_nodes_to_config"
+ l_upgrade_no_proxy_hosts: "oo_all_hosts"
+ l_upgrade_health_check_hosts: "oo_nodes_to_config"
+ l_upgrade_verify_targets_hosts: "oo_nodes_to_config"
+ l_upgrade_docker_target_hosts: "oo_nodes_to_config"
+ l_upgrade_excluder_hosts: "oo_nodes_to_config:!oo_masters_to_config"
+ l_upgrade_nodes_only: True
+
+- name: Flag pre-upgrade checks complete for hosts without errors
+ hosts: oo_masters_to_config:oo_nodes_to_upgrade:oo_etcd_to_config
+ tasks:
+ - set_fact:
+ pre_upgrade_complete: True
+
+# Pre-upgrade completed
+
+- import_playbook: ../upgrade_nodes.yml