service: Validation, set default for mounts in additional containers
This commit is contained in:
@@ -1,4 +1,9 @@
|
||||
---
|
||||
- name: Fail if service_name is empty
|
||||
ansible.builtin.fail:
|
||||
msg: service_name must not be empty
|
||||
when: service_name | length == 0
|
||||
|
||||
- name: Fail if service_container_user is not string
|
||||
ansible.builtin.fail:
|
||||
msg: "service_container_user must be a string, not int."
|
||||
|
||||
Reference in New Issue
Block a user