Skip to content

Commit

Permalink
Small error in subdirectories for backup
Browse files Browse the repository at this point in the history
  • Loading branch information
supertarto committed Sep 6, 2024
1 parent 30dadee commit 60f27b0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
- name: BackUp GLPI Folder
ansible.builtin.copy:
remote_src: true
src: "{{ glpi_install_path }}/glpi"
src: "{{ glpi_install_path }}/glpi/"
dest: "{{ glpi_install_path }}/glpi-bck"

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

- name: Copy config directory from backup to new version
ansible.builtin.copy:
remote_src: true
src: "{{ glpi_install_path }}/glpi-bck/config"
src: "{{ glpi_install_path }}/glpi-bck/config/"
dest: "{{ glpi_install_path }}/glpi/config"

when: glpi_update and glpiinstalled
Expand Down

0 comments on commit 60f27b0

Please sign in to comment.