diff options
author | Devan Goodwin <dgoodwin@redhat.com> | 2015-11-04 16:10:07 -0400 |
---|---|---|
committer | Devan Goodwin <dgoodwin@redhat.com> | 2015-11-04 16:10:07 -0400 |
commit | 75d357c9bba120221a5f996660aa4fdbb87f1fa8 (patch) | |
tree | 248f5e2b2ae1d5f491747750021cd2e90a29f035 /playbooks/adhoc/upgrades | |
parent | 922cc828e959eb9bc0438890a876e7830cd73717 (diff) | |
download | openshift-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.yml | 10 |
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: |