tripleo-quickstart-extras/playbooks/multinode-overcloud-prep.yml
Takashi Kajinami 4a4bd9c06a overcloud: Remove logic for unsupported old releases
This change removes logic for releases older than train, because these
releases are already EOLed. This covers only overcloud-* roles and
playbooks and the other items will be covered by separate changes.

Note that this change also removes the containerized_* variables
because current active releases(>=Train) no longer supports
non-containerized deployment. The containerized_overcloud_upgrade
variable is still left because the variable is still required by
the tripleo-ci-base-multinode-standard job template.

Change-Id: If29ec2c2219a28a1f79db0e552e2c622c0a7bda6
2022-10-25 16:32:53 +09:00

41 lines
1002 B
YAML

---
- name: Run overcloud prep config
hosts: undercloud
gather_facts: false
roles:
- role: overcloud-prep-config
# only run when we know we have to, save time otherwise
when: mixed_upgrade|default(false)|bool
tags:
- overcloud-prep-config
- name: Run overcloud prep roles
hosts: undercloud
gather_facts: false
roles:
- {role: overcloud-prep-images,
step_overcloud_image: false,
step_glance_upload: true,
step_register: false}
- name: Prepare for containerized deployment
hosts: undercloud
gather_facts: false
tags:
- overcloud-prep-containers
roles:
- role: overcloud-prep-containers
use_overcloud_mixed_upgrade: "{{ mixed_upgrade|default(false) }}"
- name: Ensure openvswitch is started and enabled
hosts: overcloud
tags:
- overcloud-deploy
tasks:
- name: Ensure openvswitch is started and enabled
become: true
service:
name: openvswitch
state: started
enabled: true