This patch adds a mechanism to keep the job names in zuul.d/molecule.yaml sorted. Therefore, the to_nice_yaml filter is not indenting lists correctly, due to [1][2]. [1] https://github.com/ansible/ansible/issues/48865 [2] https://github.com/yaml/pyyaml/issues/234 Signed-off-by: Gael Chamoulaud (Strider) <gchamoul@redhat.com> Change-Id: Ia8f787631c55fabb3a097919971d17b93711d4b7 (cherry picked from commitae59abe62c) (cherry picked from commitcc29577f73)
Validation_init
The purpose of this validation_init role is to create new validation from a skeleton.
Requirements
None.
Role Variables
validation_init_debug: <'false'> -- Debugging mode.validation_init_role_name: <'Undefined'> -- New role name, undefined by default!validation_init_prefix: <'tripleo'> -- New role prefixvalidation_init_skeleton_role_dir: <'/tmp'> -- Absolute path of the directory where the skeleton will be deployedvalidation_init_roles_dir: <'roles'> -- Absolute/Relative path to the roles directory where the new roles will be createdvalidation_init_zuuld_molecule: <'zuul.d/molecule.yaml'> -- Relative path to the CI molecule yaml filevalidation_init_playbooks_dir: <'playbooks'> -- Relative path to the playbooks directory where the new playbook will be createdvalidation_init_roles_doc_dir: <'doc/source/roles'> -- Relative path to documentation roles directoryvalidation_init_enabling_ci: <'true'> -- If 'true', documentation and CI configuration will be done, otherwise not
Dependencies
None.
Example Playbook
- name: Create my new role
hosts: localhost
connection: local
gather_facts: false
roles:
- { role: validation_init, validation_init_role_name: "mynewrolename"}
License
Apache
Author Information
Red hat TripleO DFG:DF Squad:VF