remove debug tasks from restore flow
This commit is contained in:
@@ -72,21 +72,6 @@
|
|||||||
state: stopped
|
state: stopped
|
||||||
when: _restore_path is defined
|
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
|
- name: Remove existing backup subdirectories for clean restore
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: "{{ item }}"
|
path: "{{ item }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user