mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-11-18 13:14:52 +00:00
14f7eed932
* Adjust to new mrb docker versioning * Stabilze authentication * fix lint * Move & document mrb password usage * Add clean cache role * Document clean cache * Fix lint * Update CHANGELOG.md * Automate access tokens * Improve changelog * Make use of mrb's function to fetch API tokens * Adjust changelog * Use ansible.builtin.file to clear directory * Fix typo --------- Co-authored-by: Slavi Pantaleev <slavi@devture.com>
27 lines
847 B
YAML
27 lines
847 B
YAML
---
|
|
|
|
- tags:
|
|
- setup-all
|
|
- setup-bot-matrix-registration-bot
|
|
- install-all
|
|
- install-bot-matrix-registration-bot
|
|
block:
|
|
- when: matrix_bot_matrix_registration_bot_enabled | bool
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/validate_config.yml"
|
|
|
|
- when: matrix_bot_matrix_registration_bot_enabled | bool
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/setup_install.yml"
|
|
|
|
- tags:
|
|
- setup-all
|
|
- setup-bot-matrix-registration-bot
|
|
block:
|
|
- when: not matrix_bot_matrix_registration_bot_enabled | bool
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/setup_uninstall.yml"
|
|
|
|
- tags:
|
|
- bot-matrix-registration-bot-clean-cache
|
|
block:
|
|
- when: matrix_bot_matrix_registration_bot_enabled | bool
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/clean_cache.yml"
|