So, I am trying to recursively delete a directory with all files/folders inside. I tried:
- name: Cleaning up
file:
state: absent
path: /tmp/myfolder/
But the directory did not get deleted. Is there any force/recursive parameter I can add? What am I missing?