Replace role_name with service_name

This commit is contained in:
Tobias Reisinger 2026-02-09 00:15:13 +01:00
parent bdf1f8891b
commit 2ff6488a70
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
98 changed files with 128 additions and 124 deletions

View file

@ -2,7 +2,7 @@
- name: Set common facts
ansible.builtin.import_tasks: tasks/set-default-facts.yml
- name: Deploy {{ role_name }}
- name: Deploy {{ service_name }}
vars:
svc: "{{ synapse_svc }}"
env: "{{ synapse_env }}"
@ -26,21 +26,21 @@
dest: "{{ (synapse_config_path, 'homeserver.yaml') | path_join }}"
content: '{{ synapse_yml | to_nice_yaml }}'
mode: "0644"
notify: Restart service {{ role_name }}
notify: Restart service {{ service_name }}
- name: Copy the log config
ansible.builtin.copy:
src: msrg.cc.log.config
dest: "{{ (synapse_config_path, 'msrg.cc.log.config') | path_join }}"
mode: "0644"
notify: Restart service {{ role_name }}
notify: Restart service {{ service_name }}
- name: Copy the signing key
ansible.builtin.copy:
content: "{{ synapse_signing_key | mandatory }}"
dest: "{{ (synapse_config_path, 'msrg.cc.signing.key') | path_join }}"
mode: "0644"
notify: Restart service {{ role_name }}
notify: Restart service {{ service_name }}
- name: Import start tasks for common service
ansible.builtin.import_tasks: tasks/start-common-service.yml