Last active
January 22, 2016 19:13
-
-
Save jfindlay/53e3fbd5bf69b9efe7c9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ID == name | |
/file/one: # ID and name | |
file.absent: | |
# ID != name | |
remove file one: # ID | |
file.absent: | |
- name: /file/one # name | |
{% set names = ['/file/one', '/file/two'] %} | |
# use names | |
remove all files: | |
file.absent: | |
- names: {{ names }} | |
# use jinja | |
{% for name in names %} | |
remove all files: | |
file.absent: | |
- name: {{ name }} | |
{% endfor %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment