소스 검색

Ensure Postgres passwords are not longer than 99 characters

Complements https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/732
pull/736/head
Slavi Pantaleev 5 년 전
부모
커밋
796c752b60
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. +5
    -0
      roles/matrix-postgres/tasks/validate_config.yml

+ 5
- 0
roles/matrix-postgres/tasks/validate_config.yml 파일 보기

@@ -20,3 +20,8 @@
- "matrix_postgres_connection_username"
- "matrix_postgres_connection_password"
- "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"

불러오는 중...
취소
저장