|
|
@@ -9,7 +9,7 @@ |
|
|
ansible.builtin.file: |
|
|
ansible.builtin.file: |
|
|
path: "{{ item.path }}" |
|
|
path: "{{ item.path }}" |
|
|
state: directory |
|
|
state: directory |
|
|
mode: 0750 |
|
|
|
|
|
|
|
|
mode: "0750" |
|
|
owner: "{{ matrix_user_name }}" |
|
|
owner: "{{ matrix_user_name }}" |
|
|
group: "{{ matrix_group_name }}" |
|
|
group: "{{ matrix_group_name }}" |
|
|
with_items: |
|
|
with_items: |
|
|
@@ -58,7 +58,7 @@ |
|
|
ansible.builtin.copy: |
|
|
ansible.builtin.copy: |
|
|
content: "{{ matrix_rustpush_bridge_configuration | to_nice_yaml(indent=2, width=999999) }}" |
|
|
content: "{{ matrix_rustpush_bridge_configuration | to_nice_yaml(indent=2, width=999999) }}" |
|
|
dest: "{{ matrix_rustpush_bridge_config_path }}/config.yaml" |
|
|
dest: "{{ matrix_rustpush_bridge_config_path }}/config.yaml" |
|
|
mode: 0644 |
|
|
|
|
|
|
|
|
mode: "0644" |
|
|
owner: "{{ matrix_user_name }}" |
|
|
owner: "{{ matrix_user_name }}" |
|
|
group: "{{ matrix_group_name }}" |
|
|
group: "{{ matrix_group_name }}" |
|
|
register: matrix_rustpush_bridge_config_result |
|
|
register: matrix_rustpush_bridge_config_result |
|
|
@@ -67,7 +67,7 @@ |
|
|
ansible.builtin.copy: |
|
|
ansible.builtin.copy: |
|
|
content: "{{ matrix_rustpush_bridge_registration | to_nice_yaml(indent=2, width=999999) }}" |
|
|
content: "{{ matrix_rustpush_bridge_registration | to_nice_yaml(indent=2, width=999999) }}" |
|
|
dest: "{{ matrix_rustpush_bridge_config_path }}/registration.yaml" |
|
|
dest: "{{ matrix_rustpush_bridge_config_path }}/registration.yaml" |
|
|
mode: 0644 |
|
|
|
|
|
|
|
|
mode: "0644" |
|
|
owner: "{{ matrix_user_name }}" |
|
|
owner: "{{ matrix_user_name }}" |
|
|
group: "{{ matrix_group_name }}" |
|
|
group: "{{ matrix_group_name }}" |
|
|
register: matrix_rustpush_bridge_registration_result |
|
|
register: matrix_rustpush_bridge_registration_result |
|
|
@@ -76,7 +76,7 @@ |
|
|
ansible.builtin.template: |
|
|
ansible.builtin.template: |
|
|
src: "{{ role_path }}/templates/{{ item }}.j2" |
|
|
src: "{{ role_path }}/templates/{{ item }}.j2" |
|
|
dest: "{{ matrix_rustpush_bridge_base_path }}/{{ item }}" |
|
|
dest: "{{ matrix_rustpush_bridge_base_path }}/{{ item }}" |
|
|
mode: 0640 |
|
|
|
|
|
|
|
|
mode: "0640" |
|
|
owner: "{{ matrix_user_name }}" |
|
|
owner: "{{ matrix_user_name }}" |
|
|
group: "{{ matrix_group_name }}" |
|
|
group: "{{ matrix_group_name }}" |
|
|
with_items: |
|
|
with_items: |
|
|
@@ -94,7 +94,7 @@ |
|
|
ansible.builtin.template: |
|
|
ansible.builtin.template: |
|
|
src: "{{ role_path }}/templates/systemd/matrix-rustpush-bridge.service.j2" |
|
|
src: "{{ role_path }}/templates/systemd/matrix-rustpush-bridge.service.j2" |
|
|
dest: "{{ devture_systemd_docker_base_systemd_path }}/matrix-rustpush-bridge.service" |
|
|
dest: "{{ devture_systemd_docker_base_systemd_path }}/matrix-rustpush-bridge.service" |
|
|
mode: 0644 |
|
|
|
|
|
|
|
|
mode: "0644" |
|
|
register: matrix_rustpush_bridge_systemd_service_result |
|
|
register: matrix_rustpush_bridge_systemd_service_result |
|
|
|
|
|
|
|
|
- name: Determine whether matrix-rustpush-bridge needs a restart |
|
|
- name: Determine whether matrix-rustpush-bridge needs a restart |
|
|
|