Skip to content

Instantly share code, notes, and snippets.

@danrough
Created November 26, 2013 16:15
Show Gist options
  • Save danrough/7661172 to your computer and use it in GitHub Desktop.
Save danrough/7661172 to your computer and use it in GitHub Desktop.
Passing in a dictionary of variables
- name: Spin up the services
template: src=service_init.j2 dest=/etc/init.d/{{ item.service_name }} owner=root group=root mode=777
with_items:
- { service_name: paymentHandler, service_user: blackjack_attack, service_exec: "{{ application_directory }}/apps/paymentHandler.js" }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment