Create the folder structure and basic functionality to develop an ansible role that targets kubernetes workload.
Variable Name | Default Value | Description |
---|---|---|
author | Mr Kubernetes | Set author in meta/main.yml |
description | Ansible Role Description | Set description in meta/main.yml. |
license | MIT | Set license in meta/main.yml. |
min_ansible_version | 2.10 | Set min_ansible_version in meta/main.yml. |
namespace | role_namespace | Set namespace in meta/main.yml. |
role_name | my_role_name | Set Ansible role name used throughout the template. |
- Install cookiecutter on your system
pip3 install -r requirements.txt
- Run cookiecutter
cookicutter https://github.com/racqspace/template-ansible-role-kubernetes
- Answer the cookiecutter questionair.
author [Mr Kubernetes]:
description [Ansible Role Description]:
license [MIT]:
min_ansible_version [2.10]:
namespace [role_namespace]:
role_name [my_role_name]:
- Cookiecutter will create a new folder named after
role_name
containing your new ansible role folder structure.
MIT
This cookiecutter template was created in 2021 by Clemens Kaserer.
Contributions by: