Files
tripleo-quickstart-extras/playbooks/multinode-overcloud-prep.yml
wes hayutin 37109c55aa Revert "Upgrade linters (ansible-lint v5)"
This reverts commit ac93fbbb47.

Reason for revert: breaks default install path for quickstart

Change-Id: I7d513d1bffdfd4293f199c38216ceb00343e06c5
2021-03-12 17:50:42 +00:00

70 lines
1.8 KiB
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: Run tripleo-validations pre-introspection tests
hosts: undercloud
gather_facts: false
tags:
- tripleo-validations
vars:
validations_group: ['pre-introspection']
tasks:
- include_role:
name: tripleo_validations
when:
- (run_tripleo_validations|bool or run_tripleo_validations_negative_tests|bool)
- release not in ['queens', 'rocky', 'stein']
- 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) }}"
when: containerized_overcloud|bool
- name: Run tripleo-validations pre-deployment tests
hosts: undercloud
gather_facts: false
tags:
- tripleo-validations
vars:
validations_group: ['pre-deployment']
tasks:
- include_role:
name: tripleo_validations
when:
- (run_tripleo_validations|bool or run_tripleo_validations_negative_tests|bool)
- release not in ['queens', 'rocky', 'stein']
- 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