On 5 April 2016 at 12:14:53, Mark Matthews ([email protected]) wrote:
I have then put the variable "{{ list }}" for the guest option, but how does
Ansible know to create multiple VM's with those servers names?
I’m not very familiar with that module, but the iterator on a loop (which is
effectively what you have with the with_items stanza) is “item" and not “list”
So try changing the guest part to:-
guest: “{{ item }”
Nigel.
--
[ Nigel Metheringham ------------------------------ [email protected] ]
[ Ellipsis Intangible Technologies ]
--
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/etPan.5703b72d.73fc5fe.5092%40weatherwax.intechnology.co.uk.
For more options, visit https://groups.google.com/d/optout.