mirror of
https://github.com/idealista/cookiecutter-ansible-role.git
synced 2024-11-23 19:07:00 +01:00
commit
27b81421ed
@ -10,6 +10,7 @@ This project adheres to [Semantic Versioning](http://semver.org/) and [Keep a ch
|
|||||||
- *[#4](https://github.com/idealista/cookiecutter-ansible-role/issues/4) Upgrade to Goss v0.3.11* @pablogcaldito
|
- *[#4](https://github.com/idealista/cookiecutter-ansible-role/issues/4) Upgrade to Goss v0.3.11* @pablogcaldito
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
- *[#11](https://github.com/idealista/cookiecutter-ansible-role/issues/11) Fix parameterization of PrivateTmp* @pablogcaldito
|
||||||
- *[#7](https://github.com/idealista/cookiecutter-ansible-role/issues/7) Fix bug in in the check version task in install.yml* @pablogcaldito
|
- *[#7](https://github.com/idealista/cookiecutter-ansible-role/issues/7) Fix bug in in the check version task in install.yml* @pablogcaldito
|
||||||
- *[#3](https://github.com/idealista/cookiecutter-ansible-role/issues/3) Fix typo in both contributing files* @pablogcaldito
|
- *[#3](https://github.com/idealista/cookiecutter-ansible-role/issues/3) Fix typo in both contributing files* @pablogcaldito
|
||||||
|
|
||||||
|
@ -22,6 +22,7 @@ def configureRole():
|
|||||||
# Delete the service and things that reference the service
|
# Delete the service and things that reference the service
|
||||||
os.remove("tasks/service.yml")
|
os.remove("tasks/service.yml")
|
||||||
os.remove("templates/{{ cookiecutter.app_name }}.service.j2")
|
os.remove("templates/{{ cookiecutter.app_name }}.service.j2")
|
||||||
|
shutil.rmtree("molecule/default/group_vars")
|
||||||
# Remove or not the handlers folder
|
# Remove or not the handlers folder
|
||||||
if not {{ cookiecutter.has_handlers }}:
|
if not {{ cookiecutter.has_handlers }}:
|
||||||
shutil.rmtree("handlers")
|
shutil.rmtree("handlers")
|
||||||
|
@ -56,5 +56,5 @@
|
|||||||
- "flag1 {% raw %}{{{% endraw %} {{ cookiecutter.app_name }}_flag1_value {% raw %}}}{% endraw %}"
|
- "flag1 {% raw %}{{{% endraw %} {{ cookiecutter.app_name }}_flag1_value {% raw %}}}{% endraw %}"
|
||||||
- "flag2 {% raw %}{{{% endraw %} {{ cookiecutter.app_name }}_flag2_value {% raw %}}}{% endraw %}"
|
- "flag2 {% raw %}{{{% endraw %} {{ cookiecutter.app_name }}_flag2_value {% raw %}}}{% endraw %}"
|
||||||
|
|
||||||
private_tmp_service: yes
|
{{ cookiecutter.app_name }}_private_tmp: true
|
||||||
{% endif %}
|
{% endif %}
|
@ -0,0 +1,3 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
{{ cookiecutter.app_name }}_private_tmp: false
|
@ -6,7 +6,7 @@ Requires=network-online.target
|
|||||||
After=network-online.target
|
After=network-online.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
PrivateTmp={% raw %}{{ private_tmp_service }}{% endraw %}
|
PrivateTmp={% raw %}{{{% endraw %} {{ cookiecutter.app_name }}_private_tmp {% raw %}}}{% endraw %}
|
||||||
User={% raw %}{{{% endraw %} {{ cookiecutter.app_name }}_user {% raw %}}}{% endraw %}
|
User={% raw %}{{{% endraw %} {{ cookiecutter.app_name }}_user {% raw %}}}{% endraw %}
|
||||||
Group={% raw %}{{{% endraw %} {{ cookiecutter.app_name }}_group {% raw %}}}{% endraw %}
|
Group={% raw %}{{{% endraw %} {{ cookiecutter.app_name }}_group {% raw %}}}{% endraw %}
|
||||||
RuntimeDirectory={{ cookiecutter.app_name }}
|
RuntimeDirectory={{ cookiecutter.app_name }}
|
||||||
|
Loading…
Reference in New Issue
Block a user