summaryrefslogtreecommitdiffstats
path: root/playbooks/byo/openshift-cluster/upgrades/docker/upgrade.yml
diff options
context:
space:
mode:
authorDevan Goodwin <dgoodwin@redhat.com>2016-06-10 10:47:11 -0300
committerDevan Goodwin <dgoodwin@redhat.com>2016-06-10 10:47:11 -0300
commitdb711081e6c1b2b676c212b0eeba95da9cb9f2c5 (patch)
treef7bb220893b9e76b4d6797e441ed50bf23d51166 /playbooks/byo/openshift-cluster/upgrades/docker/upgrade.yml
parent755a48c4ebf1061ce19892e5378fba769027bfc1 (diff)
parentfea08b9ba213b69667e103ff9dfd4383218e9eac (diff)
downloadopenshift-db711081e6c1b2b676c212b0eeba95da9cb9f2c5.tar.gz
openshift-db711081e6c1b2b676c212b0eeba95da9cb9f2c5.tar.bz2
openshift-db711081e6c1b2b676c212b0eeba95da9cb9f2c5.tar.xz
openshift-db711081e6c1b2b676c212b0eeba95da9cb9f2c5.zip
Merge branch 'master' into upgrade33
Diffstat (limited to 'playbooks/byo/openshift-cluster/upgrades/docker/upgrade.yml')
-rw-r--r--playbooks/byo/openshift-cluster/upgrades/docker/upgrade.yml29
1 files changed, 29 insertions, 0 deletions
diff --git a/playbooks/byo/openshift-cluster/upgrades/docker/upgrade.yml b/playbooks/byo/openshift-cluster/upgrades/docker/upgrade.yml
new file mode 100644
index 000000000..0f86abd89
--- /dev/null
+++ b/playbooks/byo/openshift-cluster/upgrades/docker/upgrade.yml
@@ -0,0 +1,29 @@
+# Playbook to upgrade Docker to the max allowable version for an OpenShift cluster.
+#
+# Currently only supports upgrading 1.9.x to >= 1.10.x.
+- hosts: localhost
+ connection: local
+ become: no
+ gather_facts: no
+ tasks:
+ - include_vars: ../../cluster_hosts.yml
+ - add_host:
+ name: "{{ item }}"
+ groups: l_oo_all_hosts
+ with_items: g_all_hosts | default([])
+ changed_when: false
+
+- hosts: l_oo_all_hosts
+ gather_facts: no
+ tasks:
+ - include_vars: ../../cluster_hosts.yml
+
+- include: ../../../../common/openshift-cluster/evaluate_groups.yml
+ vars:
+ # Do not allow adding hosts during upgrade.
+ g_new_master_hosts: []
+ g_new_node_hosts: []
+ openshift_cluster_id: "{{ cluster_id | default('default') }}"
+ openshift_deployment_type: "{{ deployment_type }}"
+
+- include: docker_upgrade.yml