senorsmile
2015-07-29 19:49:13 UTC
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.
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.
docs are wrong, location doesn't exist, i'll fix the docs
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
https://groups.google.com/d/msgid/ansible-project/2a5b8fe9-061f-4c52-bfe5-01fe6f784208%40googlegroups.com.
Brian Coca
--
Brian Coca
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?
(triedI can't even tell what it would want to be set to.
jsonfile?
/tmp/ansible_facts?
something else?
have you tried setting fact_caching_connection?
I should add that both machines are using ansible 1.9.2.
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
fact_caching = jsonfile
fact_caching_location = /tmp/ansible_facts
fact_caching_timeout = 86400
With these set, any attempts to use ansible or ansible-playbook
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?
--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,
an
To view this discussion on the web visit
To view this discussion on the web visit
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 ansible-project+***@googlegroups.com.
To post to this group, send email to ansible-***@googlegroups.com.
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.
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+***@googlegroups.com.
To post to this group, send email to ansible-***@googlegroups.com.
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.