|
|
|
@@ -11,7 +11,7 @@ |
|
|
|
until: result is not failed |
|
|
|
|
|
|
|
- name: Ensure Conduit configuration installed |
|
|
|
template: |
|
|
|
ansible.builtin.template: |
|
|
|
src: "{{ role_path }}/templates/conduit/conduit.toml.j2" |
|
|
|
dest: "{{ matrix_conduit_config_path }}/conduit.toml" |
|
|
|
mode: 0644 |
|
|
|
@@ -19,13 +19,13 @@ |
|
|
|
group: "{{ matrix_user_groupname }}" |
|
|
|
|
|
|
|
- name: Ensure matrix-conduit.service installed |
|
|
|
template: |
|
|
|
ansible.builtin.template: |
|
|
|
src: "{{ role_path }}/templates/conduit/systemd/matrix-conduit.service.j2" |
|
|
|
dest: "{{ matrix_systemd_path }}/matrix-conduit.service" |
|
|
|
mode: 0644 |
|
|
|
register: matrix_conduit_systemd_service_result |
|
|
|
|
|
|
|
- name: Ensure systemd reloaded after matrix-conduit.service installation |
|
|
|
service: |
|
|
|
ansible.builtin.systemd: |
|
|
|
daemon_reload: true |
|
|
|
when: "matrix_conduit_systemd_service_result.changed|bool" |