Skip to content

Instantly share code, notes, and snippets.

---
- hosts: localhost
tasks:
- file:
path: '{{ item }}'
state: directory
register: res
when: not (res.changed|d(false))
loop: '{{ list_of_items }}'
vars:

Keybase proof

I hereby claim:

  • I am cuyk on github.
  • I am cuyk (https://keybase.io/cuyk) on keybase.
  • I have a public key ASByBfhVsalXS1AB9A-Lmy2Vu-yZ_olqzG7GvfowMd6Gfwo

To claim this, I am signing this object: