tripleo-quickstart-extras/roles/tripleo-validations
Sorin Sbarnea 72141b7fab Adopt yamllint strict linting
Upgrades yamllint to latest version and adots use of its strict
checking.

Fix all known problems reported by yamllint so we don't have to do
that while touching these files.

Change-Id: I4bdc520d9e2aff086c4b463718bc1e053261a4f5
Story: https://tree.taiga.io/project/tripleo-ci-board/task/381
2018-11-26 12:37:21 +00:00
..
defaults Adopt yamllint strict linting 2018-11-26 12:37:21 +00:00
meta Adopt yamllint strict linting 2018-11-26 12:37:21 +00:00
tasks Adopt yamllint strict linting 2018-11-26 12:37:21 +00:00
templates Remove workaround for LP#1701239 bug 2017-11-08 12:14:44 +00:00
README.md Add new role for tripleo-validations 2017-07-24 07:59:00 +00:00

Tripleo-validations

An Ansible role to setup tripleo-validations

Requirements

This playbook expects that the undercloud has been installed.

Role Variables

  • working_dir: <'/home/stack'> -- working directory for the role.
  • run_tripleo_validations: -- to setup and run tripleo-validations tests
  • run_tripleo_validations_negative_tests: to run negative tests
  • run_tripleo_validations_setup: -- to setup or not tripleo-validations
  • exit_on_validations_failure: -- Exit tripleo-quickstart on validations failure
  • validations_group: <[]> -- The validation group name which should be 'pre-introspection', 'pre-deployment' or 'post-deployment'

Dependencies

No dependencies.

Example Playbook

Run the tripleo-validations setup only:

- hosts: undercloud
  vars:
    run_tripleo_validations_setup: True
  roles:
     - { role: tripleo-validations, when: run_tripleo_validations|bool }

Run the tripleo-validations tests belonging to the pre-introspection group:

- hosts: undercloud
  vars:
    validations_group: ['pre-introspection']
  roles:
     - { role: tripleo-validations, when: run_tripleo_validations|bool }

Run pre-introspection negative tests

- hosts: undercloud
  vars:
    validations_group: ['pre-introspection']
  roles:
     - { role: tripleo-validations, when: run_tripleo_validations_negative_tests|bool }

License

Apache 2.0

Author Information

RDO-CI Team