Matrix Docker Ansible eploy
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 

26 строки
824 B

  1. ---
  2. - name: Fail if playbook called incorrectly
  3. fail:
  4. msg: "The `username` variable needs to be provided to this playbook, via --extra-vars"
  5. when: "username is not defined or username == '<your-username>'"
  6. - name: Fail if playbook called incorrectly
  7. fail:
  8. msg: "The `password` variable needs to be provided to this playbook, via --extra-vars"
  9. when: "password is not defined or password == '<your-password>'"
  10. - name: Ensure matrix-dendrite is started
  11. service:
  12. name: matrix-dendrite
  13. state: started
  14. daemon_reload: yes
  15. register: start_result
  16. - name: Wait a while, so that Dendrite can manage to start
  17. pause:
  18. seconds: 7
  19. when: "start_result.changed"
  20. - name: Register user
  21. command: "{{ matrix_local_bin_path }}/matrix-dendrite-create-account {{ username|quote }} {{ password|quote }}"