Le jeudi 17 septembre 2015 10:54:21 UTC+2, David Karban a écrit :
>
> 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:
>
>
I just tried, but it doesn't works:

 error while evaluating conditional: ansible_os_family == "Debian"

If I split the playbook and put tasks that needs fact in the second one 
with gather_facts yes, it works. I'll go this way. Thanks for your help!

-- 
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/16a82cbc-b77c-4629-a095-58960ba7e1b0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to