Compare commits

..

2 Commits

Author SHA1 Message Date
edcad0094a
feat(synapse): add deployment type podman 2024-09-22 17:52:39 +02:00
72834ea4dd
feat(synapse): add ansible role 2024-09-22 17:52:34 +02:00
2 changed files with 2 additions and 10 deletions

View File

@ -6,11 +6,3 @@
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'

View File

@ -13,7 +13,7 @@
when: synapse_deployment_method not in synapse_deployment_methods
- name: Ensure required variables are given
ansible.builtin.fail:
fail:
msg: "Required variable '{{ item }}' is undefined!"
loop: "{{ synapse_required_variables }}"
when: >-2
@ -21,7 +21,7 @@
or hostvars[ansible_host][item] | length == 0
- name: Ensure conditionally required variables are given
ansible.builtin.fail:
fail:
msg: "Required variable '{{ item.name }}' is undefined!"
loop: "{{ synapse_conditionally_required_variables }}"
loop_control: