matrix-docker-ansible-deploy/roles/custom/matrix-registration/tasks/main.yml

42 lines
1.2 KiB
YAML
Raw Normal View History

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