Re: [ansible-project] Flush fact cache from within playbook?

2017-06-26 Thread Dick Visser
On 26 June 2017 at 18:35, Brian Coca wrote: > http://docs.ansible.com/ansible/meta_module.html has a 'clear_facts' . Spot on, thanks!! -- Dick Visser Sr. System & Network Engineer GÉANT Want to join us? We're hiring: https://www.geant.org/jobs -- You received this

Re: [ansible-project] Flush fact cache from within playbook?

2017-06-26 Thread Brian Coca
http://docs.ansible.com/ansible/meta_module.html has a 'clear_facts' . -- -- 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] Flush fact cache from within playbook?

2017-06-25 Thread Dick Visser
Hi I'm using fact caching which works great. For a specific task in one of my playbooks I don't want to use cached facts but "fresh" ones. I'm aware of the --flush-cache command line option, but the playbook in question can be included in others, so it's not always clear when running the main