![Gael Chamoulaud](/assets/img/avatar_default.png)
This patch allows us to run tripleo-validations tests through the Mistral framework for newton release and above. It also allows us to run negative tests for pre-introspections validations like: - undercloud-ram - undercloud-cpu - undercloud-disk-space The pre-deployment and post-deployment should be done and will be done through different patches. Change-Id: Iec07a18322252af2d484bc3f06a59dbd1b08f537 Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
35 lines
832 B
YAML
35 lines
832 B
YAML
# Deploy the FreeIPA server
|
|
- name: Deploy the FreeIPA server
|
|
hosts: supplemental
|
|
gather_facts: no
|
|
roles:
|
|
- { role: freeipa-setup, when: deploy_supplemental_node|bool and enable_tls_everywhere|bool }
|
|
|
|
# setup for the undercloud
|
|
- name: Setup the undercloud
|
|
hosts: undercloud
|
|
gather_facts: no
|
|
vars:
|
|
ansible_user: root
|
|
roles:
|
|
- { role: undercloud-setup, when: undercloud_setup|bool }
|
|
|
|
# Deploy the undercloud
|
|
- name: Deploy the undercloud
|
|
hosts: undercloud
|
|
gather_facts: no
|
|
roles:
|
|
- undercloud-deploy
|
|
|
|
- name: Configure tripleo-validations
|
|
hosts: undercloud
|
|
gather_facts: no
|
|
tags:
|
|
- tripleo-validations
|
|
vars:
|
|
run_tripleo_validations_setup: True
|
|
roles:
|
|
- { role: tripleo-validations,
|
|
when: run_tripleo_validations|bool or run_tripleo_validations_negative_tests|bool}
|
|
|