adapt role: the image should not be run as root, but with user with id 82.

This commit is contained in:
2026-05-15 15:15:24 +02:00
parent 8ccb88503a
commit 0dcd51b601
5 changed files with 12 additions and 23 deletions
+4 -4
View File
@@ -42,15 +42,15 @@
ansible.builtin.file:
path: "{{ install_dir }}/{{ chill['chill_environment'] }}/config/prod"
state: directory
owner: "{{ as_user }}"
mode: '0400'
owner: "82"
mode: '0500'
- name: Copy configuration files
ansible.builtin.template:
src: "config/prod/{{ file }}"
dest: "{{ install_dir }}/{{ chill['chill_environment'] }}/config/prod/{{ file }}"
owner: "{{ as_user }}"
mode: '0444'
owner: "82"
mode: '0400'
loop:
- lexik_jwt_authentication.yaml
- messenger.yaml