You've already forked cookiecutter-ansible-role
Add namespace to role creation
This commit is contained in:
@@ -7,11 +7,10 @@ virtualenv:
|
||||
virtualenv --prompt '|> {{ cookiecutter.role_title | lower | replace(' ','_') }} <| ' .venv
|
||||
.venv/bin/pip install --upgrade pip
|
||||
.venv/bin/pip install -r requirements.txt
|
||||
.venv/bin/ansible-galaxy collection install -r requirements.yml
|
||||
.venv/bin/ansible-galaxy collection install -r molecule/default/requirements.yml
|
||||
@echo
|
||||
@echo "VirtualENV Setup Complete. Now run: source .venv/bin/activate"
|
||||
@echo
|
||||
source .venv/bin/activate
|
||||
|
||||
test: virtualenv
|
||||
for distro in almalinux9 ; do \
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
galaxy_info:
|
||||
namespace: {{ cookiecutter.namespace | lower | replace(' ', '_') }}
|
||||
role_name: {{ cookiecutter.role_name | lower | replace(' ', '_') }}
|
||||
author: {{ cookiecutter.author }}
|
||||
description: {{ cookiecutter.short_description }}
|
||||
|
||||
Reference in New Issue
Block a user