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