Cookiecutter template for generating molecule configuration
Go to file
Luke Murphy 0ab13ed1c3
continuous-integration/drone/push Build is passing Details
Remove plays since they are now bundled
2020-04-27 15:23:19 +02:00
{{cookiecutter.molecule_directory}}/{{cookiecutter.scenario_name}} Remove plays since they are now bundled 2020-04-27 15:23:19 +02:00
.drone.yml Fix typo and unpin version 2020-04-27 13:37:27 +02:00
LICENSE Init the new role template 2020-04-27 13:35:08 +02:00
README.md Fix URL 2020-04-27 13:50:40 +02:00
cookiecutter.json Init the new role template 2020-04-27 13:35:08 +02:00

README.md

molecule-template

Build Status

A helper template for generating new roles with Molecule.

Features:

  • Generates a ready-to-go Hetzner Cloud test configuration for a role
  • Uses yamllint/ansible-lint with arguments that work specifically with our infrastructure setup
  • Removes all unecessary configuration for the default use-case (low maintenance effort intended)

Usage

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

Arguments

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