From f5ed8d40abb736fe30feff3a1f6e39276c7671d1 Mon Sep 17 00:00:00 2001 From: alextricity25 Date: Tue, 21 Feb 2017 15:15:55 -0500 Subject: [PATCH] [DOCS] Fix ansible fact caching information Change-Id: I45094b2574c40723df4635eaef6030a610082be6 Implements: blueprint create-ops-guide --- doc/source/draft-operations-guide/troubleshooting.rst | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/doc/source/draft-operations-guide/troubleshooting.rst b/doc/source/draft-operations-guide/troubleshooting.rst index d40b04b0c8..44a71f30e5 100644 --- a/doc/source/draft-operations-guide/troubleshooting.rst +++ b/doc/source/draft-operations-guide/troubleshooting.rst @@ -124,9 +124,11 @@ cache host facts and information. OpenStack-Ansible enables fact caching by default. The facts are cached in JSON files within ``/etc/openstack_deploy/ansible_facts``. -Fact caching can be disabled by commenting out the ``fact_caching`` -parameter in ``playbooks/ansible.cfg``. Refer to the Ansible -documentation on `fact caching`_ for more details. +Fact caching can be disabled by running +``export ANSIBLE_CACHE_PLUGIN=memory``. +To set this permanently, set this variable in +``/usr/local/bin/openstack-ansible.rc``. +Refer to the Ansible documentation on `fact caching`_ for more details. .. _fact caching: http://docs.ansible.com/ansible/playbooks_variables.html#fact-caching