very easy:

- template: src=sametemplate dest=/var/www/{{item}}
  with_items:
    - host1
    - host2

and you can use 'item' as a key inside the template to write specific
options to each.

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CADn%2BHsxFBQrEhT8KzHtW9RN4vEhurV8p1qPo_xZdrorTd9JHqg%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to