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:
@@ -101,7 +101,7 @@
|
||||
dest: "{{ podman_projects_dir | default('/opt/podman') }}/gitea/gitea.yaml"
|
||||
owner: "{{ ansible_user }}"
|
||||
group: "{{ ansible_user }}"
|
||||
mode: "0644"
|
||||
mode: "0600"
|
||||
notify: Restart gitea
|
||||
|
||||
- name: Get home directory for {{ ansible_user }}
|
||||
|
||||
Reference in New Issue
Block a user