python-tempestconf/roles/generate-tempestconf-file-c.../README.rst

33 lines
1.0 KiB
ReStructuredText

Generate configuration file for tempest from cloud credentials
==============================================================
Installs python-tempestconf cloned from git and generates tempest.conf with
credentials saved in clouds.yaml file. The tempest configuration file is printed
to the output after that.
**Role Variables**
.. zuul:rolevar:: cloud_user
:type: string
:default: devstack
Named cloud with demo user credentials as a default value.
.. zuul:rolevar:: virtualenvs
:type: dict
A dictionary of paths to virtual environments.
.. zuul:rolevar:: tempestconf
:default: ~/.virtualenvs/.tempestconf
A path to the virtual environment of python-tempestconf tool.
.. zuul:rolevar:: tempestconf_src_relative_path
:type: string
A relative path to a python-tempestconf project which is by default cloned
to the Zuul home directory. Value of the variable is set in the role to
that default path. If needed, the variable can be overridden from the
playbook where the role is called from.