adapt role: the image should not be run as root, but with user with id 82.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user