mirror of
https://github.com/ansible/awx.git
synced 2026-01-12 18:40:01 -03:30
Changed store_facts to use_fact_cache and added ANSIBLE_FACT_CACHE_TIMEOUT to the jobs config form
This commit is contained in:
parent
70d856b35e
commit
9618b3aca6
@ -55,6 +55,10 @@
|
||||
type: 'text',
|
||||
reset: 'DEFAULT_PROJECT_UPDATE_TIMEOUT',
|
||||
},
|
||||
ANSIBLE_FACT_CACHE_TIMEOUT: {
|
||||
type: 'text',
|
||||
reset: 'ANSIBLE_FACT_CACHE_TIMEOUT',
|
||||
},
|
||||
},
|
||||
|
||||
buttons: {
|
||||
|
||||
@ -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)'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user