#11 Update hooks

This commit is contained in:
Pablo Gómez-Caldito 2020-09-07 10:20:14 +02:00
parent e682a78962
commit 1b0074df0f

View File

@ -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")