ソースを参照

Don't to_json the matrix_synapse_database_password

It's good policy to use ansible vault to define passwords. However, due to an Ansible bug, to_json will not cause the password to be decrypted: https://github.com/ansible/ansible/issues/24425
pull/102/head
Sylvia van Os 7年前
committed by GitHub
コミット
f165ebdf50
この署名に対応する既知のキーがデータベースに存在しません GPGキーID: 4AEE18F83AFDEB23
1個のファイルの変更1行の追加1行の削除
  1. +1
    -1
      roles/matrix-synapse/templates/synapse/homeserver.yaml.j2

+ 1
- 1
roles/matrix-synapse/templates/synapse/homeserver.yaml.j2 ファイルの表示

@@ -327,7 +327,7 @@ database:
name: "psycopg2"
args:
user: {{ matrix_synapse_database_user|to_json }}
password: {{ matrix_synapse_database_password|to_json }}
password: {{ matrix_synapse_database_password }}
database: "{{ matrix_synapse_database_database }}"
host: "{{ matrix_synapse_database_host }}"
cp_min: 5


読み込み中…
キャンセル
保存