Use the jsonfile ansible cache, it will automatically store facts (and only facts) into files.
In 2.5 we do have facts under ansible_facts and we hope to ONLY have them there in the future, currently it is a toggle to allow them in 'main vars' or not. -- ---------- Brian Coca -- 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 ansible-project+unsubscr...@googlegroups.com. To post to this group, send email to firstname.lastname@example.org. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CACVha7c0r2%2BeTgo8q5pAPkNACsmSPAFiv7aADpHZsCDf_gKBCw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.