service: Support validating templated files

This commit is contained in:
uumas
2026-06-08 17:30:07 +03:00
parent 40357a17ad
commit 3e84073f39
4 changed files with 18 additions and 2 deletions

View File

@@ -177,7 +177,7 @@ _service_additional_container_template_mounts: >-
([{'readonly': true}] * _service_additional_template_mounts | length) |
zip(
_service_additional_template_mounts |
community.general.remove_keys(['mode']),
community.general.remove_keys(['mode', 'template_validate_command']),
_service_additional_template_mounts |
map(attribute='source') |
map('regex_replace', '\.j2$', '') |