diff --git a/tasks/restore.yaml b/tasks/restore.yaml index c25be2c..cf51077 100644 --- a/tasks/restore.yaml +++ b/tasks/restore.yaml @@ -72,21 +72,6 @@ state: stopped when: _restore_path is defined - - name: Debug directory permissions before deletion - ansible.builtin.shell: | - ls -la "{{ item }}" - ls -la "{{ item | dirname }}" - whoami - id - loop: "{{ app_backup_subdirectories | default([]) }}" - when: _restore_path is defined - become: true - register: debug_perms - - - name: Show debug output - ansible.builtin.debug: - var: debug_perms - - name: Remove existing backup subdirectories for clean restore ansible.builtin.file: path: "{{ item }}"