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

31 lines
878 B
YAML
Raw Normal View History

---
2022-07-18 08:22:05 +00:00
- ansible.builtin.import_tasks: "{{ role_path }}/tasks/init.yml"
2022-01-05 16:33:21 +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_client_cinny_enabled | bool"
2022-01-05 16:33:21 +00:00
tags:
- setup-all
- setup-client-cinny
2022-07-18 08:22:05 +00:00
- ansible.builtin.import_tasks: "{{ role_path }}/tasks/setup_install.yml"
when: "run_setup | bool and matrix_client_cinny_enabled | bool"
2022-01-05 16:33:21 +00:00
tags:
- setup-all
- setup-client-cinny
2022-07-18 08:22:05 +00:00
- ansible.builtin.import_tasks: "{{ role_path }}/tasks/self_check.yml"
2022-01-05 16:33:21 +00:00
delegate_to: 127.0.0.1
become: false
2022-07-18 08:22:05 +00:00
when: "run_self_check | bool and matrix_client_cinny_enabled | bool"
2022-01-05 16:33:21 +00:00
tags:
- self-check
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_client_cinny_enabled | bool"
2022-01-05 16:33:21 +00:00
tags:
- setup-all
- setup-client-cinny