feat(synapse): add deployment method virtualenv #7
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "transcaffeine/synapse-venv"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
d379c0469d
to609267e099
609267e099
to50e792cb33
50e792cb33
to8374b10802
@ -0,0 +1,53 @@
---
synapse_systemd_service_name: "synapse.service"
This should either be
or all variables should be prefixed with
synapse_systemd_service
see
8374b10802..015feaf5a6 (diff-e336851dbe45c373ac4021e3f5bd8a0891381371)
@ -0,0 +32,4 @@
ansible.builtin.template:
src: "synapse.service.j2"
dest: "{{ synapse_systemd_service_file }}"
notify:
When
synapse_state == 'absent'
thesynapse.service
file should be deletedsee
8374b10802..015feaf5a6 (diff-e4c8e7a68b24632db20258e8ef7c6a9f397ddc8e)
Line 46 (new)@ -0,0 +37,4 @@
- meta: flush_handlers
- name: Ensure systemd service is {{ synapse_state }}
Check whether this path/task is required when
synapse_state == 'absent'
. When this is true the systemd service file will be removed and the systemd daemon will be reloaded. This might lead to systemd auto-stop the unit.This could reduce complexity
@ -0,0 +1,44 @@
[Unit]
Description="{{ synapse_systemd_unit_description }}"
see
8374b10802..015feaf5a6 (diff-d5a321215b00956942ebd7ef6b229a6e305353e2)
8374b10802
to015feaf5a6
@ -17,0 +23,4 @@
when:
- synapse_deployment_method == 'virtualenv'
- ansible_facts['service_mgr'] == systemd
- synapse_state == 'started'
This should probably be
see
015feaf5a6..7d7693a2c7
015feaf5a6
to7d7693a2c7