By the way, I just noticed that you run into the exact same issue when
trying to define volumes by passing in a variable.
For instance:
group_vars/all:
ec2_volumes:
- { "device_name": "/dev/sda1", "volume_size": 50 }
- ...
and then in roles/ec2/main.yml:
- name: ec2 test
ec2:
instance_type: "{{ ec2_instance_type }}"
...
...
volumes: "{{ ec2_volumes }}"
--
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/fcfeaee9-a518-4cc7-b1e2-b148dac188ea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.