service: Don't require postgres tag specified
This commit is contained in:
@@ -9,11 +9,6 @@
|
|||||||
msg: "service_container_user must be a string, not int."
|
msg: "service_container_user must be a string, not int."
|
||||||
when: service_container_user is not string
|
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"
|
|
||||||
when: "service_database_type == 'postgres' and service_postgres_tag is not defined"
|
|
||||||
|
|
||||||
- name: Fail if template mount source doesn't end in .j2
|
- name: Fail if template mount source doesn't end in .j2
|
||||||
ansible.builtin.fail:
|
ansible.builtin.fail:
|
||||||
msg: "Template mount source file name needs to end in .j2. The file {{ item.source }} of {{ service_name }} doesn't."
|
msg: "Template mount source file name needs to end in .j2. The file {{ item.source }} of {{ service_name }} doesn't."
|
||||||
|
|||||||
Reference in New Issue
Block a user