浏览代码

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 }}"


正在加载...
取消
保存