Apply shared configuration ownership to the D&D pipeline

This commit is contained in:
2026-09-15 00:05:16 +00:00
parent 3e253d714d
commit 901ae35662
5 changed files with 72 additions and 35 deletions

View File

@@ -5,7 +5,7 @@
path: "{{ dnd_pipeline_prompt_library_root }}"
state: directory
owner: root
group: narratio
group: "{{ dnd_pipeline_runtime_group }}"
mode: "0755"
- name: Deploy the campaign registry
@@ -31,9 +31,9 @@
ansible.builtin.file:
path: "/usr/local/etc/narratio/{{ item }}"
state: directory
owner: root
group: narratio
mode: "0750"
owner: "{{ dnd_pipeline_runtime_user }}"
group: "{{ dnd_pipeline_runtime_group }}"
mode: "{{ dnd_pipeline_config_directory_mode }}"
loop:
- conf.d
- artifacts
@@ -45,9 +45,9 @@
ansible.builtin.template:
src: "{{ item.src }}"
dest: "/usr/local/etc/narratio/{{ item.dest }}"
owner: root
group: narratio
mode: "0640"
owner: "{{ dnd_pipeline_runtime_user }}"
group: "{{ dnd_pipeline_runtime_group }}"
mode: "{{ dnd_pipeline_config_file_mode }}"
loop:
- src: processing.yml.j2
dest: conf.d/processing.yml