tripleo-quickstart-extras/playbooks/baremetal-full-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

80 lines
1.9 KiB
YAML

---
- name: Prepare the undercloud networks for the overcloud deployment
hosts: undercloud
gather_facts: false
roles:
- overcloud-prep-network
tags:
- overcloud-prep-network
- name: copy over config files
hosts: undercloud
gather_facts: false
roles:
- overcloud-prep-config
tags:
- overcloud-prep-config
- name: Perpare the baremetal overcloud
hosts: undercloud
gather_facts: true
roles:
- baremetal-prep-overcloud
tags:
- baremetal-prep-overcloud
- name: Prepare overcloud containers
hosts: undercloud
gather_facts: false
roles:
- {role: overcloud-prep-containers, when: containerized_overcloud|bool}
tags:
- overcloud-prep-containers
- 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 the overcloud images for deployment
hosts: undercloud
gather_facts: false
roles:
- overcloud-prep-images
tags:
- overcloud-prep-images
- name: Prepare overcloud flavors
hosts: undercloud
gather_facts: false
roles:
- {role: overcloud-prep-flavors,
when: step_overcloud_prep_flavors|default(true)|bool}
tags:
- overcloud-prep-flavors
- name: Prepare the SSL Configuration for the overcloud deployment
hosts: undercloud
gather_facts: false
roles:
- {role: overcloud-ssl}
tags:
- overcloud-ssl
- 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}