service: Add support for service postgres containers
This commit is contained in:
5
roles/service/tasks/validation.yaml
Normal file
5
roles/service/tasks/validation.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
- 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"
|
||||
when: "service_database_type == 'postgres' and service_postgres_tag is not defined"
|
||||
Reference in New Issue
Block a user