Sincerely thanks.
El martes, 21 de noviembre de 2017, 8:32:58 (UTC+1), Pshem Kowalczyk
escribió:
>
> Hi,
>
> Try this:
>
> {{ vm_list.virtual_machines[vmname].uuid }}
>
> kind regards
> Pshem
>
>
> On Tue, 21 Nov 2017 at 04:11 Josu Vilda
> wrote:
>
>> Hi,
>>
>> I have a
Hi,
Try this:
{{ vm_list.virtual_machines[vmname].uuid }}
kind regards
Pshem
On Tue, 21 Nov 2017 at 04:11 Josu Vilda wrote:
> Hi,
>
> I have a problem with variables.
>
> this is correct:
> .
> - debug:
> msg: "{{ vm_list.virtual_machines.SRV1.uuid }}"
>
Hi,
I have a problem with variables.
this is correct:
.
- debug:
msg: "{{ vm_list.virtual_machines.SRV1.uuid }}"
but, i need:
.
register: vmname
- debug:
msg: "{{ vm_list.virtual_machines.{{ vmname }}.uuid }}"
how do i have to do it?
thx
--