Skip to content

Instantly share code, notes, and snippets.

@wolstena
Created October 11, 2013 20:23
Show Gist options
  • Save wolstena/6941417 to your computer and use it in GitHub Desktop.
Save wolstena/6941417 to your computer and use it in GitHub Desktop.
Using lists with with_items
Can't get lists to work. Dictionary no problem
- name: Varnish | Print debuging info
# debug: msg="OUTPUT $item[0] and $item[1]"
debug: msg="OUTPUT ${item.0} and ${item.1}"
with_items:
- [ "git://github.com/nand2/libvmod-throttle.git", "/home/vagrant/varnish/libvmod-throttle" ]
- [ "git://github.com/jib/libvmod-timers.git", "/home/vagrant/varnish/libvmod-timers" ]
- [ "git://github.com/jib/libvmod-statsd.git", "/home/vagrant/varnish/libvmod-statsd" ]
@wolstena
Copy link
Author

creates is broken

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment