Ensure Postgres passwords are not longer than 99 characters
Complements https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/732
This commit is contained in:
parent
93c485c276
commit
796c752b60
|
@ -20,3 +20,8 @@
|
||||||
- "matrix_postgres_connection_username"
|
- "matrix_postgres_connection_username"
|
||||||
- "matrix_postgres_connection_password"
|
- "matrix_postgres_connection_password"
|
||||||
- "matrix_postgres_db_name"
|
- "matrix_postgres_db_name"
|
||||||
|
|
||||||
|
- name: Fail if Postgres password length exceeded
|
||||||
|
fail:
|
||||||
|
msg: "The maximum `matrix_postgres_connection_password` length is 99 characters"
|
||||||
|
when: "matrix_postgres_connection_hostname|length > 99"
|
||||||
|
|
Loading…
Reference in a new issue