{t`Concurrent jobs: If enabled, simultaneous runs of this job template will be allowed.`}
@@ -33,6 +37,13 @@ const jtHelpTextStrings = () => ({{t`Webhooks: Enable webhook for this template.`}
> ), + forks: ( + + {t`The number of parallel or simultaneous processes to use while executing the playbook. An empty value, or a value less than 1 will use the Ansible default which is usually 5. The default number of forks can be overwritten with a change to`}{' '} +ansible.cfg.{' '}
+ {t`Refer to the Ansible documentation for details about the configuration file.`}
+
+ ),
});
export default jtHelpTextStrings;
diff --git a/awx/ui/src/screens/Template/shared/JobTemplateForm.js b/awx/ui/src/screens/Template/shared/JobTemplateForm.js
index 79ecfec507..c6d0f3b8af 100644
--- a/awx/ui/src/screens/Template/shared/JobTemplateForm.js
+++ b/awx/ui/src/screens/Template/shared/JobTemplateForm.js
@@ -45,6 +45,7 @@ import useIsMounted from 'hooks/useIsMounted';
import LabelSelect from 'components/LabelSelect';
import PlaybookSelect from './PlaybookSelect';
import WebhookSubForm from './WebhookSubForm';
+import jtHelpTextStrings from './JobTemplate.helptext';
const { origin } = document.location;
@@ -67,6 +68,7 @@ function JobTemplateForm({
);
const isMounted = useIsMounted();
const brandName = useBrandName();
+ const helpText = jtHelpTextStrings(brandName);
const [askInventoryOnLaunchField] = useField('ask_inventory_on_launch');
const [jobTypeField, jobTypeMeta, jobTypeHelpers] = useField({
@@ -258,10 +260,7 @@ function JobTemplateForm({
label={t`Job Type`}
promptId="template-ask-job-type-on-launch"
promptName="ask_job_type_on_launch"
- tooltip={t`For job templates, select run to execute
- the playbook. Select check to only check playbook syntax,
- test environment setup, and report problems without
- executing the playbook.`}
+ tooltip={helpText.jobType}
>
ansible.cfg.{' '}
- {t`Refer to the Ansible documentation for details
- about the configuration file.`}
-
- }
+ tooltip={helpText.forks}
/>
{t`Concurrent jobs: If enabled, simultaneous runs of this workflow job template will be allowed.`}
+{t`Webhooks: Enable Webhook for this workflow job template.`}
+ > + ), +}); + +export default wfHelpTextStrings; diff --git a/awx/ui/src/screens/Template/shared/WorkflowJobTemplateForm.js b/awx/ui/src/screens/Template/shared/WorkflowJobTemplateForm.js index 960b3172be..259cea3153 100644 --- a/awx/ui/src/screens/Template/shared/WorkflowJobTemplateForm.js +++ b/awx/ui/src/screens/Template/shared/WorkflowJobTemplateForm.js @@ -28,7 +28,9 @@ import Popover from 'components/Popover'; import { WorkFlowJobTemplate } from 'types'; import LabelSelect from 'components/LabelSelect'; import WebhookSubForm from './WebhookSubForm'; +import wfHelpTextStrings from './WorkflowJobTemplate.helptext'; +const helpText = wfHelpTextStrings(); const urlOrigin = window.location.origin; function WorkflowJobTemplateForm({ @@ -137,7 +139,7 @@ function WorkflowJobTemplateForm({