Skip to content

Commit 60f27b0

Browse files
committed
Small error in subdirectories for backup
1 parent 30dadee commit 60f27b0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tasks/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
- name: BackUp GLPI Folder
2121
ansible.builtin.copy:
2222
remote_src: true
23-
src: "{{ glpi_install_path }}/glpi"
23+
src: "{{ glpi_install_path }}/glpi/"
2424
dest: "{{ glpi_install_path }}/glpi-bck"
2525

2626
- name: Remove GLPI folder before update
@@ -45,13 +45,13 @@
4545
- name: Copy files directory from backup to new version
4646
ansible.builtin.copy:
4747
remote_src: true
48-
src: "{{ glpi_install_path }}/glpi-bck/files"
48+
src: "{{ glpi_install_path }}/glpi-bck/files/"
4949
dest: "{{ glpi_install_path }}/glpi/files"
5050

5151
- name: Copy config directory from backup to new version
5252
ansible.builtin.copy:
5353
remote_src: true
54-
src: "{{ glpi_install_path }}/glpi-bck/config"
54+
src: "{{ glpi_install_path }}/glpi-bck/config/"
5555
dest: "{{ glpi_install_path }}/glpi/config"
5656

5757
when: glpi_update and glpiinstalled

0 commit comments

Comments
 (0)