1
0
mirror of https://github.com/spantaleev/matrix-docker-ansible-deploy.git synced 2024-12-12 08:43:55 +02:00
matrix-docker-ansible-deploy/roles/custom/matrix-registration/tasks/main.yml

34 lines
1.0 KiB
YAML
Raw Normal View History

---
2022-07-18 10:22:05 +02:00
- ansible.builtin.import_tasks: "{{ role_path }}/tasks/init.yml"
2020-09-01 12:46:05 +02:00
tags:
- always
2022-07-18 10:22:05 +02:00
- ansible.builtin.import_tasks: "{{ role_path }}/tasks/validate_config.yml"
when: "run_setup | bool and matrix_registration_enabled | bool"
2020-09-01 12:46:05 +02:00
tags:
- setup-all
- setup-matrix-registration
2022-07-18 10:22:05 +02:00
- ansible.builtin.import_tasks: "{{ role_path }}/tasks/setup_install.yml"
when: "run_setup | bool and matrix_registration_enabled | bool"
tags:
- setup-all
- setup-matrix-registration
2022-07-18 10:22:05 +02:00
- ansible.builtin.import_tasks: "{{ role_path }}/tasks/setup_uninstall.yml"
when: "run_setup | bool and not matrix_registration_enabled | bool"
2020-09-01 12:46:05 +02:00
tags:
- setup-all
- setup-matrix-registration
2022-07-18 10:22:05 +02:00
- ansible.builtin.import_tasks: "{{ role_path }}/tasks/generate_token.yml"
when: "run_setup | bool and matrix_registration_enabled | bool"
2020-09-01 12:46:05 +02:00
tags:
- generate-matrix-registration-token
2021-01-09 18:50:34 +02:00
2022-07-18 10:22:05 +02:00
- ansible.builtin.import_tasks: "{{ role_path }}/tasks/list_tokens.yml"
when: "run_setup | bool and matrix_registration_enabled | bool"
2021-01-09 18:50:34 +02:00
tags:
- list-matrix-registration-tokens