commit | e9fdf2fdfdf797ddad0afa97ad8e140eac65cb64 | [log] [tgz] |
---|---|---|
author | Carlos Frias <carlos.frias.01@gmail.com> | Tue Nov 21 14:40:33 2017 -0500 |
committer | Carlos Frias <carlos.frias.01@gmail.com> | Tue Nov 21 14:40:33 2017 -0500 |
tree | b052dacdf2f106a3beabdf36d75a894ffbf6bbc1 | |
parent | a4a370480fff43043de57eb80112247170d264aa [diff] |
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