Hello,

So include and with_items is depricated and I am wondering how to implement 
the following:

I have to create a couple of similar services:
(I know this is not working)
- name: loopy
  shell: download something
  template: src: dest:
  service: name={{ service }} state=started  
  with_items: listing


Is the only way to do this?

- name: download everything
  shell: download something
  with_items: listing
- name: copy templates
  template: src: dest:
  with_items: listing
- name: download everything
  service: name={{ service }} state=started
  with_items: listing

What would be a better approach?

thanks

Peter

-- 
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/6a1dfaa4-02c7-4ddc-8073-743253cacf51%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to