Cookiecutter template for generating an ansible role
Go to file
Luke Murphy 2adf66256e
All checks were successful
continuous-integration/drone/push Build is passing
Quote that
2020-04-27 21:07:43 +02:00
{{cookiecutter.role_name}} Init role template 2020-04-27 21:03:40 +02:00
.drone.yml Quote that 2020-04-27 21:07:43 +02:00
cookiecutter.json Init role template 2020-04-27 21:03:40 +02:00
LICENSE Init role template 2020-04-27 21:03:40 +02:00
README.md Init role template 2020-04-27 21:03:40 +02:00

role-template

Build Status

A template for generating new roles with cookiecutter.

Features:

  • Meta information specifically for Autonomic
  • Only mandatory directories included, keeping it simple

Usage

$ pip install cookiecutter
$ cookiecutter https://git.autonomic.zone/autonomic-cooperative/role-template

If you're looking for a molecule folder, try the molecule-template instead.

Arguments

  • role_directory: Name of the standard role role directory (default: role)
  • role_name: Name of the role that role files are embedded in (default: autonomic.mynewrole)
  • scenario_type: Name of the role scenario (default: default)
  • server_type: Hetzner Cloud server type (default: cx11)
  • server_image: Hetzner Cloud image type (default: debian-10)