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

33 lines
941 B
YAML
Raw Normal View History

---
- 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"