Fix conflicting permissions with lizmap-installer

This commit is contained in:
gilex-dev 2024-06-13 23:16:05 +02:00
parent e8cabef135
commit 14912f13f1
Signed by: gilex-dev
GPG Key ID: 9A2BEC7B5188D2E3

View File

@ -258,7 +258,7 @@
backup: true
owner: www-data
group: www-data
mode: u=rw,g=,o=
mode: u=rw,g=r,o=
- name: Ensure lizmap-web-client conf is latest
become: true
@ -268,7 +268,7 @@
backup: true
owner: www-data
group: www-data
mode: u=rw,g=,o=
mode: u=rw,g=r,o=
create: true
marker: "; {mark} ANSIBLE MANAGED BLOCK"
@ -285,7 +285,7 @@
dest: "{{ lizmap['path'] }}lizmap-web-client-{{ lizmap['version'] }}/{{ item }}"
owner: "www-data"
group: "www-data"
mode: ug+rX
mode: u+rwX,g+rX
recurse: true
loop: # taken from lizmap-web-client-3.7.6/lizmap/install/set_rights.sh
- ""
@ -456,7 +456,7 @@
owner: root
group: root
mode: u=rwX,g=rX,o=rX
recurse: true
recurse: false
- name: Ensure lizmap root repository exists
become: true