feat(synapse): add deployment type podman

This commit is contained in:
2024-09-22 17:52:01 +02:00
parent 50ae4f63cc
commit ce9cd996ee
5 changed files with 60 additions and 10 deletions

View File

@ -6,3 +6,11 @@
state: started
restart: true
when: synapse_deployment_method == 'docker'
- name: Ensure synapse is restarted
listen: synapse-restart
containers.podman.podman_container:
name: "{{ synapse_container_name }}"
state: "{{ synapse_container_state }}"
force_restart: true
when: synapse_deployment_method == 'podman'