mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-07-29 10:45:42 +02:00
Update to 2022-05-25 17:00
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user