Add tags to OpenShift external tasks to allow upgrading it separately

When running `openstack overcloud external-upgrade run`, all services
using external installers are upgraded. Tags are added to OpenShift
external deploy/upgrade tasks, to allow upgrading OpenShift by itself
via `openstack overcloud external-upgrade run --tags openshift`.

Change-Id: I7335849155080b7f6c32df85cd48d0d11d86d9e0
This commit is contained in:
Jiri Stransky 2018-08-10 08:49:27 +02:00
parent 39e360624e
commit a87fcb1e3e
2 changed files with 3 additions and 0 deletions

View File

@ -102,6 +102,7 @@ outputs:
external_deploy_tasks:
- name: openshift_master step 2
when: step == '2'
tags: openshift
block:
- name: create openshift temp dirs
file:
@ -382,5 +383,6 @@ outputs:
external_upgrade_tasks:
- name: set OpenShift upgrade facts
tags: openshift
set_fact:
openshift_upgrade: true

View File

@ -59,6 +59,7 @@ outputs:
external_deploy_tasks:
- name: openshift_worker step 1
when: step == '1'
tags: openshift
block:
- name: create openshift temp dirs
file: