updated logic
diff --git a/tasks/main.yml b/tasks/main.yml index b39f078..f79a183 100644 --- a/tasks/main.yml +++ b/tasks/main.yml
@@ -137,4 +137,4 @@ state: absent with_items: "{{ tmp_log.files }}" - when: clear_logs is defined and clear_logs | bool == True \ No newline at end of file + when: clear_logs is defined and clear_logs \ No newline at end of file