mirror of
https://github.com/idealista/cookiecutter-ansible-role.git
synced 2024-12-21 19:07:08 +01:00
#11 Update hooks
This commit is contained in:
parent
e682a78962
commit
1b0074df0f
@ -22,6 +22,7 @@ def configureRole():
|
||||
# Delete the service and things that reference the service
|
||||
os.remove("tasks/service.yml")
|
||||
os.remove("templates/{{ cookiecutter.app_name }}.service.j2")
|
||||
shutil.rmtree("molecule/default/group_vars")
|
||||
# Remove or not the handlers folder
|
||||
if not {{ cookiecutter.has_handlers }}:
|
||||
shutil.rmtree("handlers")
|
||||
|
Loading…
Reference in New Issue
Block a user