From 60f27b08e4b9d37ebba572a6b0722152c1b81dbc Mon Sep 17 00:00:00 2001 From: supertarto Date: Fri, 6 Sep 2024 16:47:34 +0200 Subject: [PATCH] Small error in subdirectories for backup --- tasks/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index 234be51..6c6543c 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -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 @@ -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