Update to 2020-10-07 20:00

master
Daniel Berteaud 4 years ago
parent 6dfb085948
commit d39c7d7cb2
  1. 4
      roles/glpi/defaults/main.yml
  2. 1
      roles/glpi/tasks/install.yml
  3. 3
      roles/glpi/templates/perms.sh.j2

@ -2,9 +2,9 @@
glpi_id: 1
glpi_manage_upgrade: True
glpi_version: 9.5.1
glpi_version: 9.5.2
glpi_zip_url: https://github.com/glpi-project/glpi/releases/download/{{ glpi_version }}/glpi-{{ glpi_version }}.tgz
glpi_zip_sha1: 23ceae94dffd5d60ab6fabfcc1517d9ca84bf64d
glpi_zip_sha1: 9e05ad35dc7d6a9fbefec2f6401edb47a1dea9cf
glpi_root_dir: /opt/glpi_{{ glpi_id }}
glpi_php_user: php-glpi_{{ glpi_id }}
# If set, will use the following custom PHP FPM pool, which must be created

@ -37,6 +37,7 @@
rsync_opts:
- '--exclude=/install/install.php'
- '--exclude=/files/'
- '--exclude=/config/glpicrypt.key'
delegate_to: "{{ inventory_hostname }}"
when: glpi_install_mode != "none"
tags: glpi

@ -13,5 +13,8 @@ chmod 700 {{ glpi_root_dir }}/{tmp,sessions,data}
find {{ glpi_root_dir }}/web -type f -exec chmod 644 "{}" \;
find {{ glpi_root_dir }}/web -type d -exec chmod 755 "{}" \;
chown -R :{{ glpi_php_user }} {{ glpi_root_dir }}/web/config
chown -R :{{ glpi_php_user }} {{ glpi_root_dir }}/web/marketplace
chmod 770 {{ glpi_root_dir }}/web/config
chmod 660 {{ glpi_root_dir }}/web/config/*
chmod 770 {{ glpi_root_dir }}/web/marketplace
chmod 660 {{ glpi_root_dir }}/web/marketplace/*

Loading…
Cancel
Save