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
1 changed files with 4 additions and 4 deletions

View File

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