security: deploy pod manifests containing credentials with mode 0600
gitea.yaml, immich.yaml, and metabase.yaml embed database passwords in env vars; per repo policy, rendered files containing secrets must not be world-readable.
This commit is contained in:
@@ -73,7 +73,7 @@
|
||||
dest: "{{ podman_projects_dir }}/metabase/metabase.yaml"
|
||||
owner: "{{ ansible_user }}"
|
||||
group: "{{ ansible_user }}"
|
||||
mode: "0644"
|
||||
mode: "0600"
|
||||
notify: Restart Metabase
|
||||
|
||||
- name: Get home directory for {{ ansible_user }}
|
||||
|
||||
Reference in New Issue
Block a user