refactor: move to Debian on truenas scale

This commit is contained in:
CaZzzer committed 2023-03-31 01:23:32 -07:00
1 parent a6c370b85a
commit ed426593d4
26 files changed
+251 -158

No files matched your search

@@ -4,13 +4,13 @@
file:
path: "{{ current_svc_path }}"
state: directory
mode: "500"
mode: "700"
- name: Ensure directory structure exists
file:
path: "{{ current_svc_path }}/{{ item.path }}"
state: directory
mode: "500"
mode: "700"
with_community.general.filetree: "{{ templates_source }}"
when: item.state == "directory"
@@ -23,7 +23,7 @@
template:
src: "{{ item.src }}"
dest: "{{ current_svc_path }}/{{ item.path | regex_replace('\\.j2$', '') }}"
mode: "400"
mode: "600"
with_community.general.filetree: "{{ templates_source }}"
when: item.state == "file"