瀏覽代碼

Removed redunadant waiting

pull/425/head
Christian Wolf 6 年之前
父節點
當前提交
26bc66117d
共有 1 個檔案被更改,包括 1 行新增6 行删除
  1. +1
    -6
      roles/matrix-synapse/tasks/update_user_password.yml

+ 1
- 6
roles/matrix-synapse/tasks/update_user_password.yml 查看文件

@@ -33,12 +33,7 @@
- name: Wait a while, so that Matrix Synapse can manage to start
pause:
seconds: 7
when: "start_result.changed"

- name: Wait a while, so that Matrix Postgres can manage to start
pause:
seconds: 7
when: "postgres_start_result.changed"
when: "start_result.changed" or "postgres_start_result.changed"

- name: Generate password hash
shell: "/usr/bin/docker exec matrix-synapse /usr/local/bin/hash_password -c /data/homeserver.yaml -p {{ password }}"


Loading…
取消
儲存