tripleo-quickstart-extras/roles/tripleo-validations/tasks/config.yml
Gael Chamoulaud fc5bf6e315 Add new role for tripleo-validations
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>
2017-07-24 07:59:00 +00:00

35 lines
1.0 KiB
YAML

---
- name: Ensure tripleo-validations rpm requirements are installed
yum: name=openstack-tripleo-validations state=present
become: true
- name: Create run-tripleo-validations.sh
template:
src: "{{ run_tripleo_validations_script }}"
dest: "{{ val_working_dir }}/run-tripleo-validations.sh"
mode: 0755
when: run_tripleo_validations|bool
- when: run_tripleo_validations_negative_tests|bool
block:
- name: Create run-preintro-validations-negative-tests.sh
template:
src: "{{ run_preintro_val_script }}"
dest: "{{ val_working_dir }}/run-preintro-validations-negative-tests.sh"
mode: 0755
- name: Create run-predep-validations-negative-tests.sh
template:
src: "{{ run_predep_val_script }}"
dest: "{{ val_working_dir }}/run-predep-validations-negative-tests.sh"
mode: 0755
- name: Create run-postdep-validations-negative-tests.sh
template:
src: "{{ run_postdep_val_script }}"
dest: "{{ val_working_dir }}/run-postdep-validations-negative-tests.sh"
mode: 0755