tripleo-quickstart-extras/playbooks/multinode-overcloud-prep.yml
Sorin Sbarnea cc82349363 Adapt code to newer code style (linters)
Makes those files conformant with current linting rules and avoids
linting errors when we need to toch them again.

Previous doing "pre-commit run -a" uncovered these errors, now is no
longer reporting any other errors.

Change-Id: Ie4cf229c8f11c2b55b323eac23c89483b26d3781
2018-11-16 12:42:51 +00:00

52 lines
1.4 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']
roles:
- {role: tripleo-validations,
when: run_tripleo_validations|bool or run_tripleo_validations_negative_tests|bool}
- 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']
roles:
- {role: tripleo-validations,
when: run_tripleo_validations|bool or run_tripleo_validations_negative_tests|bool}