diff --git a/awx/main/tasks.py b/awx/main/tasks.py index 8b7b622c37..c8def0fc59 100644 --- a/awx/main/tasks.py +++ b/awx/main/tasks.py @@ -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: diff --git a/awx/plugins/fact_caching/tower.py b/awx/plugins/fact_caching/awx.py similarity index 100% rename from awx/plugins/fact_caching/tower.py rename to awx/plugins/fact_caching/awx.py