Compare commits
2 Commits
edcad0094a
...
ce9cd996ee
Author | SHA1 | Date | |
---|---|---|---|
ce9cd996ee | |||
50ae4f63cc |
@ -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'
|
||||
|
@ -13,7 +13,7 @@
|
||||
when: synapse_deployment_method not in synapse_deployment_methods
|
||||
|
||||
- name: Ensure required variables are given
|
||||
fail:
|
||||
ansible.builtin.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
|
||||
fail:
|
||||
ansible.builtin.fail:
|
||||
msg: "Required variable '{{ item.name }}' is undefined!"
|
||||
loop: "{{ synapse_conditionally_required_variables }}"
|
||||
loop_control:
|
||||
|
Loading…
x
Reference in New Issue
Block a user