cookiecutter-ansible-role-d.../ansible-role-{{cookiecutter.app_name}}/defaults/main.yml

25 lines
1.0 KiB
YAML

---
## General
{{ cookiecutter.app_name }}_image: {{ cookiecutter.app_name }}:latest
{{ cookiecutter.app_name }}_http_port: {{ cookiecutter.http_port }}
# {{ cookiecutter.app_name | title }} paths
{{ cookiecutter.app_name }}_root_path: /var/local
{{ cookiecutter.app_name }}_data_base: "{% raw %}{{{% endraw %} {{ cookiecutter.app_name }}_root_path {% raw %}}}{% endraw %}/{{ cookiecutter.app_name }}"
{{ cookiecutter.app_name }}_config_path: "{% raw %}{{{% endraw %} {{ cookiecutter.app_name }}_root_path {% raw %}}}{% endraw %}/conf/{{ cookiecutter.app_name }}"
# Add other paths here to make sure they're created automatically
#
{{ cookiecutter.app_name }}_skeleton_paths:
- "{% raw %}{{{% endraw %} {{ cookiecutter.app_name }}_config_path {% raw %}}}{% endraw %}"
# Add more templates to be copied into the config
{{ cookiecutter.app_name }}_configuration_files:
- "{% raw %}docker-compose.yml{% endraw %}"
- "env.{{ cookiecutter.app_name }}.conf"
# Documentation
{{ cookiecutter.app_name }}_documentation_link: "{{ cookiecutter.documentation_URL }}"