Hi, you can either use gather_facts: yes if you provision VM in another play, or just call an setup module like:
- name: Get VM facts setup: David Karban Linux server specialist/Specialista na správu linuxových serverů www.karban.eu 2015-09-17 10:32 GMT+02:00 Emmanuel Lacour <[email protected]>: > Dear ansible users, > > I have a playbook that install a VM, so at the beginning og the playbook I > use "gather_facts: no" because the VM is not yet ready, then I install the > vm on the cluster using delegate_to, then once the vm is up I would like to > continue some tasks on the vm but I need facts now. > > Is this possible? > > -- > 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/eb37b2c6-b715-4fd4-a31b-099e584cf6c7%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/eb37b2c6-b715-4fd4-a31b-099e584cf6c7%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CAOBFM97r9aaSincX%2BstrJiG%2BJw5dXxEQ28DNqWnTdz6SO2iq_Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
