mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2025-10-23 12:48:55 +02:00
Move matrix-appservice-irc into a separate role
This commit is contained in:
21
roles/matrix-bridge-appservice-irc/tasks/main.yml
Normal file
21
roles/matrix-bridge-appservice-irc/tasks/main.yml
Normal file
@@ -0,0 +1,21 @@
|
||||
- import_tasks: "{{ role_path }}/tasks/init.yml"
|
||||
tags:
|
||||
- always
|
||||
|
||||
- import_tasks: "{{ role_path }}/tasks/validate_config.yml"
|
||||
when: "run_setup and matrix_appservice_irc_enabled"
|
||||
tags:
|
||||
- setup-all
|
||||
- setup-appservice-irc
|
||||
|
||||
- import_tasks: "{{ role_path }}/tasks/setup-install.yml"
|
||||
when: "run_setup and matrix_appservice_irc_enabled"
|
||||
tags:
|
||||
- setup-all
|
||||
- setup-appservice-irc
|
||||
|
||||
- import_tasks: "{{ role_path }}/tasks/setup-uninstall.yml"
|
||||
when: "run_setup and not matrix_appservice_irc_enabled"
|
||||
tags:
|
||||
- setup-all
|
||||
- setup-appservice-irc
|
Reference in New Issue
Block a user