Cookiecutter template for generating molecule configuration
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Luke Murphy 1071cead9e
continuous-integration/drone/push Build is passing Details
Clarify what it does
3 years ago
{{cookiecutter.molecule_directory}}/{{cookiecutter.scenario_name}} Converge.yml is still required 3 years ago
.drone.yml Fix typo and unpin version 3 years ago
LICENSE Init the new role template 3 years ago
README.md Clarify what it does 3 years ago
cookiecutter.json Init the new role template 3 years ago

README.md

molecule-template

Build Status

A template for generating new molecule configurations with cookiecutter.

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

You run this command within an existing role directory. If you're looking for the role template, then we have that over here.

$ 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)