2022-08-04 19:37:08 +02:00
|
|
|
---
|
|
|
|
|
2022-08-05 16:59:35 +02:00
|
|
|
- name: Ensure Conduit config path exists
|
2022-08-05 20:44:56 +02:00
|
|
|
ansible.builtin.file:
|
2022-08-05 16:59:35 +02:00
|
|
|
path: "{{ matrix_conduit_config_path }}"
|
|
|
|
state: directory
|
|
|
|
mode: 0750
|
|
|
|
owner: "{{ matrix_user_username }}"
|
|
|
|
group: "{{ matrix_user_groupname }}"
|
2022-08-05 20:48:45 +02:00
|
|
|
when: "matrix_conduit_enabled | bool"
|
2022-08-05 16:59:35 +02:00
|
|
|
|
|
|
|
- name: Ensure Conduit data path exists
|
2022-08-05 20:44:56 +02:00
|
|
|
ansible.builtin.file:
|
2022-08-05 16:59:35 +02:00
|
|
|
path: "{{ matrix_conduit_data_path }}"
|
|
|
|
state: directory
|
|
|
|
mode: 0770
|
|
|
|
owner: "{{ matrix_user_username }}"
|
|
|
|
group: "{{ matrix_user_groupname }}"
|
2022-08-05 20:48:45 +02:00
|
|
|
when: "matrix_conduit_enabled | bool"
|
2022-08-05 16:59:35 +02:00
|
|
|
|
2022-08-04 19:37:08 +02:00
|
|
|
- import_tasks: "{{ role_path }}/tasks/conduit/setup_install.yml"
|
2022-08-05 20:48:45 +02:00
|
|
|
when: "matrix_conduit_enabled | bool"
|
2022-08-04 19:37:08 +02:00
|
|
|
|
|
|
|
- import_tasks: "{{ role_path }}/tasks/conduit/setup_uninstall.yml"
|
2022-08-05 20:48:45 +02:00
|
|
|
when: "not matrix_conduit_enabled | bool"
|