- 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
- 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.
Hi,I would like to loop on items in an inventory group with the module Route53I tried to methods but both failed, if you have any idea, it would be really appreciated :DMethod 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
- name: important basic packages
apt:
name: "{{ item }}"
state: present
with_items:
- strace
- screen
- less
- man-db
- wget