瀏覽代碼

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


Loading…
取消
儲存