tripleo-validations/roles/validation_init/templates
Gael Chamoulaud (Strider) aa54732c32 Introduce new Ansible validation_init role.
This patch migrates the new role addition playbook into a proper Ansible
role with proper molecule tests. This new role will be responsible for
creating a new validation.

It is good to mention that the process won't change and it will be
fully transparent for the user.

To create a new role in tripleo-validations:

$ cd tripleo-validations/
$ export ANSIBLE_ROLES_PATH="${PWD}/roles"
$ ansible-playbook -i localhost, role-addition.yml -e validation_init_role_name=${NEWROLENAME}

Signed-off-by: Gael Chamoulaud (Strider) <gchamoul@redhat.com>
Change-Id: I219f4054e6b854306719b9c91a0738c526f07666
(cherry picked from commit 83ba5e32fd)
(cherry picked from commit 19bb19ea3c)
(cherry picked from commit fc7ab69ef0)
2021-06-22 16:34:22 -04:00
..
README.md.j2 Introduce new Ansible validation_init role. 2021-06-22 16:34:22 -04:00

README.md.j2

{{ role_name | replace('-', '_') | capitalize }}
{{ "%s" | format((role_name | replace('-', '_') | length) * "=") }}

A brief description of the role goes here.

Requirements
------------

Any pre-requisites that may not be covered by Ansible itself or the role should be mentioned here. For instance, if the role uses the EC2 module, it may be a good idea to mention in this section that the boto package is required.

Role Variables
--------------

* `{{ role_name | replace('-', '_') }}_debug`: <'false'> -- Debugging mode.
* ...

Dependencies
------------

A list of other roles hosted on Galaxy should go here, plus any details in regards to parameters that may need to be set for other roles, or variables that are used from other roles.

Example Playbook
----------------

Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:

    - hosts: localhost
      roles:
         - { role: {{ role_name | replace('-', '_') }}, x: 42 }

License
-------

Apache

Author Information
------------------

Red hat TripleO DFG:<dfg_name> Squad:<squad_name>