Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Today I learned
- name: Delete multiple files
file:
path: "{{ item }}"
state: absent
with_items:
- file1.txt
- file2.txt
- file3.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment