That looks like it should work, {{item.devices}} should be expanded
before the module reads it, and that is already a list,
Though, looking at the code definition of the module, it seems wrong
and it takes a dictionary, not a list. Seem to need a 'dictionary of
device type with a list of devices'. Looks like the following should
work:
lxc_containers:
- name: c1
devices:
eth0:
name: eth0
type: nic
data:
path: /data
type: disk
-------
Brian Coca
--
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/CACVha7dF1bOyU-TfEWydB%3D55VyniSx3YR_p4u5SMGM79mnYLKw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.