Great.  So, 

fact_caching_location


should actually be

fact_caching_connection

This should be dumping some sort of json of cached facts into that 
directory, correct?  When I run anything that gathers facts, the 
/tmp/ansible_facts/ dir is created.  However, it contains no files and no 
actual caching is happening.  

On Wednesday, July 29, 2015 at 12:42:04 PM UTC-7, Brian Coca wrote:
>
> docs are wrong, location doesn't exist, i'll fix the docs 
>
> On Wed, Jul 29, 2015 at 3:40 PM, senorsmile <[email protected] 
> <javascript:>> wrote: 
> > There is no such keyword according to the docs: 
> > http://docs.ansible.com/ansible/playbooks_variables.html#fact-caching 
> > 
> > I can't even tell what it would want to be set to. 
> > jsonfile? 
> > /tmp/ansible_facts? 
> > something else? 
> > 
> > 
> > On Wednesday, July 29, 2015 at 12:38:00 PM UTC-7, Brian Coca wrote: 
> >> 
> >> have you tried setting fact_caching_connection? 
> >> 
> >> On Wed, Jul 29, 2015 at 3:28 PM, senorsmile <[email protected]> 
> wrote: 
> >> > I should add that both machines are using ansible 1.9.2. 
> >> > 
> >> > On Wednesday, July 29, 2015 at 12:27:46 PM UTC-7, senorsmile wrote: 
> >> >> 
> >> >> I have added the following to ansible.cfg 
> >> >> 
> >> >> fact_caching = jsonfile 
> >> >> fact_caching_location = /tmp/ansible_facts 
> >> >> fact_caching_timeout = 86400 
> >> >> 
> >> >> With these set, any attempts to use ansible or ansible-playbook 
> (tried 
> >> >> multiple different known working playbooks) fails with the error: 
> >> >> 
> >> >> error, fact_caching_connection is not set, cannot use fact cache 
> >> >> 
> >> >> I have tried this on both a mac and a linux machine. 
> >> >> 
> >> >> What is wrong there? 
> >> > 
> >> > -- 
> >> > 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/2a5b8fe9-061f-4c52-bfe5-01fe6f784208%40googlegroups.com.
>  
>
> >> > 
> >> > For more options, visit https://groups.google.com/d/optout. 
> >> 
> >> 
> >> 
> >> -- 
> >> Brian Coca 
>
>
>
> -- 
> 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 [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/a181d18a-d7e5-4571-a9a1-03a37e272e14%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to