|
|
@ -127,17 +127,11 @@
|
|
|
|
src: "{{ role_path }}/templates/synapse/systemd/matrix-synapse.service.j2"
|
|
|
|
src: "{{ role_path }}/templates/synapse/systemd/matrix-synapse.service.j2"
|
|
|
|
dest: "{{ devture_systemd_docker_base_systemd_path }}/matrix-synapse.service"
|
|
|
|
dest: "{{ devture_systemd_docker_base_systemd_path }}/matrix-synapse.service"
|
|
|
|
mode: 0644
|
|
|
|
mode: 0644
|
|
|
|
register: matrix_synapse_systemd_service_result
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Ensure systemd reloaded after matrix-synapse.service installation
|
|
|
|
- name: Ensure register-user script created
|
|
|
|
ansible.builtin.service:
|
|
|
|
|
|
|
|
daemon_reload: true
|
|
|
|
|
|
|
|
when: "matrix_synapse_systemd_service_result.changed"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Ensure matrix-synapse-register-user script created
|
|
|
|
|
|
|
|
ansible.builtin.template:
|
|
|
|
ansible.builtin.template:
|
|
|
|
src: "{{ role_path }}/templates/synapse/usr-local-bin/matrix-synapse-register-user.j2"
|
|
|
|
src: "{{ role_path }}/templates/synapse/bin/register-user.j2"
|
|
|
|
dest: "{{ matrix_local_bin_path }}/matrix-synapse-register-user"
|
|
|
|
dest: "{{ matrix_synapse_bin_path }}/register-user"
|
|
|
|
mode: 0755
|
|
|
|
mode: 0755
|
|
|
|
|
|
|
|
|
|
|
|
- name: Generate sample prometheus.yml for external scraping
|
|
|
|
- name: Generate sample prometheus.yml for external scraping
|
|
|
|