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

42 lines
1.2 KiB
YAML
Raw Normal View History

---
- block:
- when: matrix_registration_enabled | bool
ansible.builtin.include_tasks: "{{ role_path }}/tasks/inject_into_nginx_proxy.yml"
2020-09-01 12:46:05 +02:00
tags:
- setup-all
- setup-nginx-proxy
2022-11-25 16:02:51 +02:00
- install-all
- install-nginx-proxy
2020-09-01 12:46:05 +02:00
- block:
- when: matrix_registration_enabled | bool
ansible.builtin.include_tasks: "{{ role_path }}/tasks/validate_config.yml"
2020-09-01 12:46:05 +02:00
- when: matrix_registration_enabled | bool
ansible.builtin.include_tasks: "{{ role_path }}/tasks/setup_install.yml"
2022-11-25 16:02:51 +02:00
tags:
- setup-all
- setup-matrix-registration
- install-all
- install-matrix-registration
2022-11-25 16:02:51 +02:00
- block:
- when: not matrix_registration_enabled | bool
ansible.builtin.include_tasks: "{{ role_path }}/tasks/setup_uninstall.yml"
2020-09-01 12:46:05 +02:00
tags:
- setup-all
- setup-matrix-registration
- block:
- when: matrix_registration_enabled | bool
ansible.builtin.include_tasks: "{{ role_path }}/tasks/generate_token.yml"
2020-09-01 12:46:05 +02:00
tags:
- generate-matrix-registration-token
2021-01-09 18:50:34 +02:00
- block:
- when: matrix_registration_enabled | bool
ansible.builtin.include_tasks: "{{ role_path }}/tasks/list_tokens.yml"
2021-01-09 18:50:34 +02:00
tags:
- list-matrix-registration-tokens