mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-12-29 12:27:14 +01:00
9d5902f096
* Draupnir for all Role * Draupnir for all Documentation * Pin D4A to Develop until D4A patches are in a release. * Update D4A Docs to mention pros and cons of D4A mode compared to normal * Change Documentation to mention a fixed simpler provisioning flow. Use of /plain allows us to bypass the bugs encountered during the development of this role with clients attempting to escape our wildcards causing the grief that led to using curl. This reworded commit does still explain you can automatically inject stuff into the room if you wanted to. * Emphasise the State of D4A mode * Link to Draupnir-for-all docs and tweak the docs some * Link to Draupnir-for-all from Draupnir documentation page * Announce Draupnir-for-all --------- Co-authored-by: Slavi Pantaleev <slavi@devture.com>
26 lines
943 B
YAML
26 lines
943 B
YAML
---
|
|
|
|
- name: Check existence of matrix-appservice-draupnir-for-all service
|
|
ansible.builtin.stat:
|
|
path: "{{ devture_systemd_docker_base_systemd_path }}/matrix-appservice-draupnir-for-all.service"
|
|
register: matrix_bot_draupnir_service_stat
|
|
|
|
- when: matrix_bot_draupnir_service_stat.stat.exists | bool
|
|
block:
|
|
- name: Ensure matrix-appservice-draupnir-for-all is stopped
|
|
ansible.builtin.service:
|
|
name: matrix-appservice-draupnir-for-all
|
|
state: stopped
|
|
enabled: false
|
|
daemon_reload: true
|
|
|
|
- name: Ensure matrix-appservice-draupnir-for-all.service doesn't exist
|
|
ansible.builtin.file:
|
|
path: "{{ devture_systemd_docker_base_systemd_path }}/matrix-appservice-draupnir-for-all.service"
|
|
state: absent
|
|
|
|
- name: Ensure matrix-appservice-draupnir-for-all paths don't exist
|
|
ansible.builtin.file:
|
|
path: "{{ matrix_bot_draupnir_base_path }}"
|
|
state: absent
|