mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2026-01-15 04:15:18 +00:00
First pass at creating defaults and tasks for Conduit
This commit is contained in:
14
roles/matrix-conduit/tasks/setup_conduit.yml
Normal file
14
roles/matrix-conduit/tasks/setup_conduit.yml
Normal file
@@ -0,0 +1,14 @@
|
||||
---
|
||||
- name: Ensure Conduit paths exist
|
||||
file:
|
||||
path: "{{ item.path }}"
|
||||
state: directory
|
||||
mode: 0750
|
||||
owner: "{{ matrix_user_username }}"
|
||||
group: "{{ matrix_user_groupname }}"
|
||||
with_items:
|
||||
- {path: "{{ matrix_conduit_config_dir_path }}", when: true}
|
||||
- {path: "{{ matrix_conduit_data_dir_path }}", when: true}
|
||||
when: "matrix_conduit_enabled|bool and item.when"
|
||||
|
||||
- import_tasks: "{{ role_path }}/tasks/conduit/setup.yml"
|
||||
Reference in New Issue
Block a user