using the elasticache_subnet_group module and trying to populate the list
of subnet ids using a variable but its only populating one of the ids.
Here's the task:
- name: create elasticache subnet group
elasticache_subnet_group:
state: present
name: "{{ Env }}-{{ nameCache }}"
description: "{{ Env }}-{{ nameCache }}"
subnets: "{{ item }}"
region: "{{ aws_reg }}"
with_items: "{{ subgrpids }}"
and the var is:
subgrpids:
- <ID>
- <ID>
But if I list the ids in the task it works properly.
--
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/bd3850fb-a365-478b-88d8-307f311fe5ff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.