Skip to content

OAH ROLE SPECIFICATION

Vinod Panicker edited this page Oct 18, 2016 · 1 revision

Layout

Must be a github/git repo accessible to OAH-shell

Must be valid Ansible Role

Naming Convention :

Must follow the naming convention of ansible-role-oah-XXXX where XXXX is the oah community accepted name that clearly mentions the purpose of the roles.

Must Have files :

Each Role must have in the Task folder main.yml as well as install.yml, reset.yml & remove.yml

--- Should have an associated yaml to safely reset as well as remove the changes done by the role called reset.yml as well as remove.yml apart from an install.yml

-- If param or reset or remove is not passed to the main.yml in tasks folder for a role , main will include install.yml

EACH OAH Roles must follow the best practices as mentioned(http://docs.ansible.com/ansible/playbooks_best_practices.html)

Clone this wiki locally