You've already forked cookiecutter-ansible-role
Removed basename. Was unneeded
This commit is contained in:
@@ -1,16 +1,13 @@
|
||||
{
|
||||
"role_title": "My Awesome Role",
|
||||
"namespace": "guisea",
|
||||
"author": "Aaron Guise",
|
||||
"role_name": "{{ cookiecutter.role_title | lower | replace(' ','_') }}",
|
||||
"repo_name": "ansible-role-{{ cookiecutter.role_title | lower | replace(' ','_') }}",
|
||||
"branch_name": "main",
|
||||
"namespace": "guisea",
|
||||
"author": "Aaron Guise",
|
||||
"short_description": "This role does amazing things",
|
||||
"company": "Acme, Inc.",
|
||||
"galaxy_username": "{{ cookiecutter.namespace | lower | replace(' ', '') }}",
|
||||
"azp_username": "{{ cookiecutter.author | lower | replace(' ', '') }}",
|
||||
"azp_branch": "main",
|
||||
"license": "Apache 2.0",
|
||||
"min_ansible_version": "2.9",
|
||||
"_extensions": ["local_extensions.basename"]
|
||||
"min_ansible_version": "2.9"
|
||||
}
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
import os
|
||||
from cookiecutter.utils import simple_filter
|
||||
|
||||
|
||||
@simple_filter
|
||||
def basename(path):
|
||||
return os.path.basename(path)
|
||||
@simple_filter
|
||||
def dirname(path):
|
||||
return os.path.dirname(path)
|
||||
Reference in New Issue
Block a user