Skip to content

mafalb/cookiecutters-ansible

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cookiecutters for ansible

master master branch
dev dev branch

create a basic ansible collection:

cookiecutter https://github.com/mafalb/cookiecutters-ansible --directory collection

This creates not only the directories and files for the ansible collection but also a cookiecutter.yaml with the context

default_context:
    collection_namespace: "mafalb"
    collection_name: "httpd"
    author_name: "Markus Falb"
    author_email: "markus.falb@mafalb.at"
    license: "GPL-3.0-or-later"
    repository_url: "https://github.com/mafalb/ansible-collection-httpd"
    hosted_by: "github"

e.g. in the shell:

cookiecutter\
 --overwrite-if-exists\
 --config-file httpd/cookiecutter.yaml --no-input\
 https://github.com/mafalb/cookiecutters-ansible --directory molecule

files for molecule were added to the existing collection

cookiecutter\
 --overwrite-if-exists\
 --config-file httpd/cookiecutter.yaml --no-input\
 https://github.com/mafalb/cookiecutters-ansible --directory github-actions
cookiecutter\
 --overwrite-if-exists\
 --config-file httpd/cookiecutter.yaml --no-input\
 https://github.com/mafalb/cookiecutters-ansible --directory role

License

Copyright (c) 2021 Markus Falb markus.falb@mafalb.at

GPL-3.0-or-later

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published