Skip to content

Template repository for creating Ansible roles incl. CI/CD via molecule and argument validation via argument_specs

License

Notifications You must be signed in to change notification settings

Xenion1987/template-ansible-role

Repository files navigation

template-ansible-role

pre-commit ansible-tests

Replace placeholder

.github/workflows/ci.yml

Replace template-ansible-role with the new role name.

.vscode/settings.json

Update and comment in Ansible and Python path values, if required

sed -i s,WORKSPACE_PATH,${PWD}, .vscode/settings.json

OPTIONAL: Copy/move .example.envrc to .envrc

Requires direnv to be installed and hooked into your shell.

meta/main.yml

Update all meta informations to fit to your requirements.

meta/argument-specs.yml

Explain all variables within this file. This also can be used to auto-generate a README.md file. Follow instructions on docs.ansible.com.

README.md

Replace the template repo URL github.com/Xenion1987/template-ansible-role with the new repo URL.

About

Template repository for creating Ansible roles incl. CI/CD via molecule and argument validation via argument_specs

Topics

Resources

License

Stars

Watchers

Forks