On 12.04.2018 14:11, Zeljko Dokman wrote:
Hi,
thank you for the info.
one more question, for vsphere_guest module, how to know that "state"
parameter should be referenced as
"vm_state.ansible_facts.hw_power_status", this part a have not find in
the
documentation.? how is this contracted for all other parameters for
particular module?
Some module has this documented, but most of them don't unfortunately.
So you are left with finding it yourself.
To do that you run the module with "register: ..." directive and print
the content of the variable.
The content you print like this
- debug: var=vm_state
--
Kai Stian Olstad
--
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/97815bb6bbb0fc8e08407d72c7138c05%40olstad.com.
For more options, visit https://groups.google.com/d/optout.