maintenance file for updating sudoers and removing extra files on rollback
diff --git a/tasks/main.yml b/tasks/main.yml index 8f7e629..f96b66c 100644 --- a/tasks/main.yml +++ b/tasks/main.yml
@@ -126,8 +126,6 @@ when: clear_logs is defined and clear_logs | bool == True - name: Remove on rollback - file: - path: "{{ item }}" - state: absent + shell: "rm -rf {{ item }}" with_items: "{{ remove_on_rollback }}" when: remove_on_rollback is defined \ No newline at end of file