summaryrefslogtreecommitdiffstats
path: root/playbooks/adhoc/upgrades
diff options
context:
space:
mode:
authorDevan Goodwin <dgoodwin@redhat.com>2015-11-04 16:10:07 -0400
committerDevan Goodwin <dgoodwin@redhat.com>2015-11-04 16:10:07 -0400
commit75d357c9bba120221a5f996660aa4fdbb87f1fa8 (patch)
tree248f5e2b2ae1d5f491747750021cd2e90a29f035 /playbooks/adhoc/upgrades
parent922cc828e959eb9bc0438890a876e7830cd73717 (diff)
downloadopenshift-75d357c9bba120221a5f996660aa4fdbb87f1fa8.tar.gz
openshift-75d357c9bba120221a5f996660aa4fdbb87f1fa8.tar.bz2
openshift-75d357c9bba120221a5f996660aa4fdbb87f1fa8.tar.xz
openshift-75d357c9bba120221a5f996660aa4fdbb87f1fa8.zip
Override hosts deployment_type fact for version we're upgrading to.
Diffstat (limited to 'playbooks/adhoc/upgrades')
-rw-r--r--playbooks/adhoc/upgrades/upgrade.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/playbooks/adhoc/upgrades/upgrade.yml b/playbooks/adhoc/upgrades/upgrade.yml
index 0f505bf7d..09f991b1d 100644
--- a/playbooks/adhoc/upgrades/upgrade.yml
+++ b/playbooks/adhoc/upgrades/upgrade.yml
@@ -1,4 +1,14 @@
---
+- name: Update deployment type
+ hosts: OSEv3
+ roles:
+ - openshift_facts
+ post_tasks: # technically tasks are run after roles, but post_tasks is a bit more explicit.
+ - openshift_facts:
+ role: common
+ local_facts:
+ deployment_type: "{{ deployment_type }}"
+
- name: Verify upgrade can proceed
hosts: masters
tasks: