Hi, 

I would like to loop on items in an inventory group with the module Route53

I tried to methods but both failed, if you have any idea, it would be 
really appreciated :D

*Method 1:*

> - route53:
>     command: create
>     overwrite: True
>     zone: "{{ slaves_dns_zone }}"
>     record: "{{ item | regex_replace('/.', '-') }}.{{ slaves_dns_record }}"
>     type: PTR
>     ttl: 300
>     value: "{{ item }}"
>     with_items: groups['slaves-private']


msg: unsupported parameter for module: with_items 


*Method 2:*

> - include: route53-unique-slave.yml item=item
>   with_dict: groups['mesos-slaves']


ERROR: [DEPRECATED]: include + with_items is a removed deprecated 
> feature. Please update your playbooks. 


Then, I'm a bit out if idea :)

Thank you in advance! 

-- 
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/9d77d442-f006-40d4-8e12-2f5356cb2471%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to