2017-07-31 20:07:30 +00:00
|
|
|
---
|
|
|
|
|
2022-11-27 07:47:02 +00:00
|
|
|
- name: Ensure Matrix base paths exists
|
2022-07-18 07:39:08 +00:00
|
|
|
ansible.builtin.file:
|
2017-09-11 20:50:14 +00:00
|
|
|
path: "{{ item }}"
|
|
|
|
state: directory
|
2019-01-14 13:28:37 +00:00
|
|
|
mode: "{{ matrix_base_data_path_mode }}"
|
2017-09-11 20:50:14 +00:00
|
|
|
owner: "{{ matrix_user_username }}"
|
2020-05-01 17:59:32 +00:00
|
|
|
group: "{{ matrix_user_groupname }}"
|
2017-09-11 20:50:14 +00:00
|
|
|
with_items:
|
2017-10-24 04:01:11 +00:00
|
|
|
- "{{ matrix_base_data_path }}"
|
2022-11-27 07:47:02 +00:00
|
|
|
- "{{ matrix_bin_path }}"
|
2018-08-08 05:23:36 +00:00
|
|
|
|
2022-11-27 07:47:02 +00:00
|
|
|
- name: Ensure remove-all script created
|
2022-07-18 07:39:08 +00:00
|
|
|
ansible.builtin.template:
|
2022-11-27 07:47:02 +00:00
|
|
|
src: "{{ role_path }}/templates/bin/remove-all.j2"
|
|
|
|
dest: "{{ matrix_bin_path }}/remove-all"
|
2018-11-28 10:02:51 +00:00
|
|
|
mode: 0750
|