Skip to content

Instantly share code, notes, and snippets.

@hindenbug
Created March 22, 2018 10:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hindenbug/f7cf46ff48fc0f0ecb7551fcf2167b48 to your computer and use it in GitHub Desktop.
Save hindenbug/f7cf46ff48fc0f0ecb7551fcf2167b48 to your computer and use it in GitHub Desktop.
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