6 lines
279 B
YAML
6 lines
279 B
YAML
---
|
|
- 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"
|