service: Add support for template mounts
Template mounts are templated from jinja2 templates to a service name -specific directory under /srv and bind mounted inside the container.
This commit is contained in:
3
roles/service/vars/main.yaml
Normal file
3
roles/service/vars/main.yaml
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
_service_template_mounts: "{{ service_container_mounts | selectattr('type', '==', 'template') | list }}"
|
||||
_service_host_directory: "/srv/{{ service_name }}"
|
||||
Reference in New Issue
Block a user