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

34 lines
1,018 B
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 10:46:05 +00:00
tags:
- setup-all
- setup-nginx-proxy
2020-09-01 10:46:05 +00:00
- 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"
- 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:
- setup-all
- setup-matrix-registration
- block:
- when: matrix_registration_enabled | bool
ansible.builtin.include_tasks: "{{ role_path }}/tasks/generate_token.yml"
2020-09-01 10:46:05 +00:00
tags:
- generate-matrix-registration-token
2021-01-09 16:50:34 +00:00
- block:
- when: matrix_registration_enabled | bool
ansible.builtin.include_tasks: "{{ role_path }}/tasks/list_tokens.yml"
2021-01-09 16:50:34 +00:00
tags:
- list-matrix-registration-tokens