This repository contains installation and test setup playbooks (along with
other ansible code such as roles) for usm qe integration tests (aka
usmqe-tests
) of Tendrl project.
We follow ansible best practices here.
Main top level directories:
roles
: ansible rolesgroup_vars
: ansible group variables (file for each inventory group)
All *.yml
files in the root of the repository are ansible playbooks.
Playbooks starting with qe_
prefix are not meant for direct Tendrl
deployment, but for other tasks which QE team needed to automate, eg.:
qe_server.yml
playbook automates deployment of QE Server machine, where usm qe integration tests are installed and executed/managed fromqe_evidence*.yml
playbooks automate log/evidence gathering process
Note that playbooks with skyrings
in it's name are not supposed to be used
for Tendrl setup either. These files are there for a reference how particular
deployment/setup task should be done, eg:
firewall.skyrings.yml
firewall setup for skyrings projectservices.skyrings.yml
service management for skyrings project
To see more details, check readme files of ansible roles used in the playbook.
You need to install ansible 2.x (ansible from current Fedora or EPEL).
We also assume that storage or tendrl servers (machines you configure with playbooks stored in this repository) run CentOS 7 distribution.
We use yamllint tool to check syntax and formatting of yaml files in
this repository. The rules we enforce (stored in .yamllint
file) are based
on yamllint configuration of ansible project.
To run the checks, install yamllint
(use either Fedora/CentOS yamllint
packages or PyPI via pip
) and run:
$ yamllint .
This check is also run by usmqe-setup Travis CI job for each pull request.
To find more details or to get a whole picture how this repository relates to integartion tests, see usm qe documentation.
Distributed under the terms of the Apache License 2.0 license.