cookiecutter-ansible-role-d.../ansible-role-{{cookiecutter.app_name}}/defaults/main.yml
Laur Ivan bda1f187c5 feat: Better default configuration.
Add multiple files copy via variables.
Add service skeleton.
Add image and port versions.
2023-04-27 22:05:41 +02:00

27 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 }}"