Update to 2021-06-18 10:00

master
Daniel Berteaud 3 years ago
parent 53235b2852
commit 0b10513bb0
  1. 2
      roles/glpi/tasks/conf.yml
  2. 2
      roles/glpi/templates/pre_backup.j2

@ -21,7 +21,7 @@
tags: glpi
- name: Init database
command: "/bin/php{{ glpi_php_version }} {{ glpi_root_dir }}/web/bin/console -n -r db:install"
command: "/bin/php{{ glpi_php_version }} {{ glpi_root_dir }}/web/bin/console -n db:install"
when: glpi_install_mode == 'install'
tags: glpi

@ -6,4 +6,4 @@
--quick --single-transaction \
--add-drop-table {{ glpi_mysql_db | quote }} | zstd -T0 -c > {{ glpi_root_dir }}/backup/{{ glpi_mysql_db }}.sql.zst
cp {{ glpi_root_dir }}/web/config/glpicrypt.key {{ glpi_root_dir }}/backup/
[ -e {{ glpi_root_dir }}/web/config/glpicrypt.key ] && cp {{ glpi_root_dir }}/web/config/glpicrypt.key {{ glpi_root_dir }}/backup/

Loading…
Cancel
Save