Make Narratio configuration ownership configurable

This commit is contained in:
2026-09-14 14:04:54 +00:00
parent 7feff4728a
commit eeb1105590
4 changed files with 23 additions and 8 deletions

View File

@@ -58,9 +58,9 @@
ansible.builtin.file:
path: "{{ narratio_config_path | dirname }}"
state: directory
owner: root
group: "{{ narratio_group }}"
mode: "0750"
owner: "{{ narratio_config_owner }}"
group: "{{ narratio_config_group }}"
mode: "{{ narratio_config_directory_mode }}"
- name: Create mutable Narratio roots
become: true
@@ -142,6 +142,6 @@
ansible.builtin.template:
src: pipeline.yml.j2
dest: "{{ narratio_config_path }}"
owner: root
group: "{{ narratio_group }}"
mode: "0640"
owner: "{{ narratio_config_owner }}"
group: "{{ narratio_config_group }}"
mode: "{{ narratio_config_file_mode }}"