Update to 2022-05-25 17:00

This commit is contained in:
Daniel Berteaud
2022-05-25 17:00:11 +02:00
parent 3b09fd994c
commit 2269974840
2 changed files with 70 additions and 66 deletions

View File

@@ -12,9 +12,9 @@
- name: Download glpi
get_url:
url: "{{ glpi_zip_url }}"
url: "{{ glpi_archive_url }}"
dest: "{{ glpi_root_dir }}/tmp/"
checksum: "sha1:{{ glpi_zip_sha1 }}"
checksum: "sha256:{{ glpi_archive_sha256 }}"
when: glpi_install_mode != "none"
tags: glpi
@@ -42,7 +42,7 @@
- name: Remove automatic GLPI signature
lineinfile:
path: "{{ glpi_root_dir }}/web/inc/notificationtemplate.class.php"
path: "{{ glpi_root_dir }}/web/src/NotificationTemplate.php"
regexp: '^(.*)Automatically generated by GLPI(.*)$'
line: '\1\2'
backrefs: True
@@ -66,7 +66,7 @@
get_url:
url: "{{ glpi_plugins[item].url }}"
dest: "{{ glpi_root_dir }}/tmp/"
checksum: "sha1:{{ glpi_plugins[item].sha1 }}"
checksum: "sha256:{{ glpi_plugins[item].sha256 }}"
when:
- item not in glpi_installed_plugins.stdout_lines
- glpi_plugins[item] is defined