service: Support setting container user

This commit is contained in:
uumas
2024-11-19 19:57:41 +02:00
parent cb3d5f177d
commit 64606707d4
4 changed files with 12 additions and 0 deletions

View File

@@ -1,4 +1,9 @@
---
- name: Fail if service_container_user is not string
ansible.builtin.fail:
msg: "service_container_user must be a string, not int."
when: service_container_user is not string
- name: Fail if service_database_type is postgres but service_postgres_tag is not set
ansible.builtin.fail:
msg: "service_postgres_tag needs to be set when database type is postgres"