Merge pull request #6749 from mabashian/6661-6660-insights

Changed store_facts to use_fact_cache and
This commit is contained in:
Michael Abashian 2017-06-27 13:36:15 -04:00 committed by GitHub
commit 64d66dde2b
2 changed files with 7 additions and 3 deletions

View File

@ -55,6 +55,10 @@
type: 'text',
reset: 'DEFAULT_PROJECT_UPDATE_TIMEOUT',
},
ANSIBLE_FACT_CACHE_TIMEOUT: {
type: 'text',
reset: 'ANSIBLE_FACT_CACHE_TIMEOUT',
},
},
buttons: {

View File

@ -285,13 +285,13 @@ function(NotificationsList, CompletedJobsList, i18n) {
labelClass: 'stack-inline',
ngDisabled: '!(job_template_obj.summary_fields.user_capabilities.edit || canAddJobTemplate)'
}, {
name: 'store_facts',
label: i18n._('Store Ansible Facts'),
name: 'use_fact_cache',
label: i18n._('Use Fact Cache'),
type: 'checkbox',
column: 2,
awPopOver: "<p>" + i18n._("If enabled, a fact scan will be done when this job is launched.") + "</p>",
dataPlacement: 'right',
dataTitle: i18n._('Store Ansible Facts'),
dataTitle: i18n._('Use Fact Cache'),
dataContainer: "body",
labelClass: 'stack-inline',
ngDisabled: '!(job_template_obj.summary_fields.user_capabilities.edit || canAddJobTemplate)'