summaryrefslogtreecommitdiffstats
path: root/playbooks/adhoc/upgrades/upgrade.yml
diff options
context:
space:
mode:
authorDevan Goodwin <dgoodwin@redhat.com>2015-11-03 09:27:13 -0400
committerDevan Goodwin <dgoodwin@redhat.com>2015-11-03 11:09:46 -0400
commitcbf98f53b0975a829a5720c33149c7014d5bd7cd (patch)
tree6aa171347ba6fd1eb7de4d3b7e22eb34782eae29 /playbooks/adhoc/upgrades/upgrade.yml
parentf23375161c40b29ef64d90ec4c44df5f571caee0 (diff)
downloadopenshift-cbf98f53b0975a829a5720c33149c7014d5bd7cd.tar.gz
openshift-cbf98f53b0975a829a5720c33149c7014d5bd7cd.tar.bz2
openshift-cbf98f53b0975a829a5720c33149c7014d5bd7cd.tar.xz
openshift-cbf98f53b0975a829a5720c33149c7014d5bd7cd.zip
Implement master-config.yaml upgrade for v1beta3 apiLevel removal.
Diffstat (limited to 'playbooks/adhoc/upgrades/upgrade.yml')
-rw-r--r--playbooks/adhoc/upgrades/upgrade.yml25
1 files changed, 17 insertions, 8 deletions
diff --git a/playbooks/adhoc/upgrades/upgrade.yml b/playbooks/adhoc/upgrades/upgrade.yml
index e55f1536f..6cb6803a9 100644
--- a/playbooks/adhoc/upgrades/upgrade.yml
+++ b/playbooks/adhoc/upgrades/upgrade.yml
@@ -40,6 +40,15 @@
- name: Generate etcd backup
command: etcdctl backup --data-dir={{ openshift.master.etcd_data_dir }} --backup-dir={{ openshift.common.data_dir }}/etcd-backup-{{ timestamp }}
+- name: Update 3.0 configuration to 3.1
+ hosts: masters
+ tasks:
+ tasks:
+ - debug: var=openshift_master_config_dir
+ - name: Upgrade configuration.
+ openshift_upgrade_config: from_version=3.0 to_version=3.1 role=master
+ - fail: All done for now.
+
- name: Upgrade base package on masters
hosts: masters
roles:
@@ -50,14 +59,14 @@
- name: Upgrade base package
yum: pkg={{ openshift.common.service_type }}{{ openshift_version }} state=latest
-- name: Re-Run cluster configuration to apply latest configuration changes
- include: ../../common/openshift-cluster/config.yml
- vars:
- g_etcd_group: "{{ 'etcd' }}"
- g_masters_group: "{{ 'masters' }}"
- g_nodes_group: "{{ 'nodes' }}"
- openshift_cluster_id: "{{ cluster_id | default('default') }}"
- openshift_deployment_type: "{{ deployment_type }}"
+ #- name: Re-Run cluster configuration to apply latest configuration changes
+ # include: ../../common/openshift-cluster/config.yml
+ # vars:
+ # g_etcd_group: "{{ 'etcd' }}"
+ # g_masters_group: "{{ 'masters' }}"
+ # g_nodes_group: "{{ 'nodes' }}"
+ # openshift_cluster_id: "{{ cluster_id | default('default') }}"
+ # openshift_deployment_type: "{{ deployment_type }}"
- name: Upgrade masters
hosts: masters