Refactor fact cache plugin from tower -> awx

This commit is contained in:
Matthew Jones 2017-07-26 12:20:23 -04:00
parent d4b1a07495
commit cc0802c87e
2 changed files with 1 additions and 1 deletions

View File

@ -940,7 +940,7 @@ class RunJob(BaseTask):
if job.use_fact_cache and not kwargs.get('isolated'):
env['ANSIBLE_LIBRARY'] = self.get_path_to('..', 'plugins', 'library')
env['ANSIBLE_CACHE_PLUGINS'] = self.get_path_to('..', 'plugins', 'fact_caching')
env['ANSIBLE_CACHE_PLUGIN'] = "tower"
env['ANSIBLE_CACHE_PLUGIN'] = "awx"
env['ANSIBLE_FACT_CACHE_TIMEOUT'] = str(settings.ANSIBLE_FACT_CACHE_TIMEOUT)
env['ANSIBLE_CACHE_PLUGIN_CONNECTION'] = settings.CACHES['default']['LOCATION'] if 'LOCATION' in settings.CACHES['default'] else ''
if job.project: