Hi, thank you for your replay Do you know is it possible to list all undocumented parameters of a module and its states?
Regards On Thursday, April 12, 2018 at 5:09:05 PM UTC+2, Kai Stian Olstad wrote: > > 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/fa0d51bb-527b-452b-9376-0514bce263aa%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
