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

34 lines
1.0 KiB
YAML
Raw Normal View History

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