mirror of
https://github.com/ansible/awx.git
synced 2026-02-13 17:24:45 -03:30
Docs touchups
This commit is contained in:
@@ -20,8 +20,9 @@ author: "John Westcott IV (@john-westcott-iv)"
|
|||||||
version_added: "2.3"
|
version_added: "2.3"
|
||||||
short_description: create, update, or destroy Ansible Tower workflow job templates.
|
short_description: create, update, or destroy Ansible Tower workflow job templates.
|
||||||
description:
|
description:
|
||||||
- Create, update, or destroy Ansible Tower workflow job templates. See
|
- Create, update, or destroy Ansible Tower workflow job templates.
|
||||||
U(https://www.ansible.com/tower) for an overview.
|
- Replaces the deprecated tower_workflow_template module.
|
||||||
|
- Use the tower_workflow_job_template_node after this to build the workflow's graph.
|
||||||
options:
|
options:
|
||||||
name:
|
name:
|
||||||
description:
|
description:
|
||||||
@@ -30,7 +31,7 @@ options:
|
|||||||
type: str
|
type: str
|
||||||
new_name:
|
new_name:
|
||||||
description:
|
description:
|
||||||
- Setting this option will change the existing name (looked up via the name field.
|
- Setting this option will change the existing name.
|
||||||
required: False
|
required: False
|
||||||
type: str
|
type: str
|
||||||
description:
|
description:
|
||||||
@@ -40,7 +41,7 @@ options:
|
|||||||
type: str
|
type: str
|
||||||
extra_vars:
|
extra_vars:
|
||||||
description:
|
description:
|
||||||
- NO DESCRIPTION GIVEN IN THE TOWER API
|
- Variables which will be made available to jobs ran inside the workflow.
|
||||||
required: False
|
required: False
|
||||||
type: dict
|
type: dict
|
||||||
organization:
|
organization:
|
||||||
@@ -57,7 +58,7 @@ options:
|
|||||||
type: bool
|
type: bool
|
||||||
ask_variables_on_launch:
|
ask_variables_on_launch:
|
||||||
description:
|
description:
|
||||||
- Prompt user for (extra_vars) on launch.
|
- Prompt user for C(extra_vars) on launch.
|
||||||
required: False
|
required: False
|
||||||
type: bool
|
type: bool
|
||||||
inventory:
|
inventory:
|
||||||
|
|||||||
@@ -20,8 +20,12 @@ author: "John Westcott IV (@john-westcott-iv)"
|
|||||||
version_added: "2.3"
|
version_added: "2.3"
|
||||||
short_description: create, update, or destroy Ansible Tower workflow job template nodes.
|
short_description: create, update, or destroy Ansible Tower workflow job template nodes.
|
||||||
description:
|
description:
|
||||||
- Create, update, or destroy Ansible Tower workflow job template nodes. See
|
- Create, update, or destroy Ansible Tower workflow job template nodes.
|
||||||
U(https://www.ansible.com/tower) for an overview.
|
- Use this to build a graph for a workflow, which dictates what the workflow runs.
|
||||||
|
- Replaces the deprecated tower_workflow_template module schema command.
|
||||||
|
- You can create nodes first, and link them afterwards, and not worry about ordering.
|
||||||
|
For failsafe referencing of a node, specify identifier, WFJT, and organization.
|
||||||
|
With those specified, you can choose to modify or not modify any other parameter.
|
||||||
options:
|
options:
|
||||||
extra_data:
|
extra_data:
|
||||||
description:
|
description:
|
||||||
@@ -182,20 +186,20 @@ from ..module_utils.tower_api import TowerModule
|
|||||||
def main():
|
def main():
|
||||||
# Any additional arguments that are not fields of the item can be added here
|
# Any additional arguments that are not fields of the item can be added here
|
||||||
argument_spec = dict(
|
argument_spec = dict(
|
||||||
extra_data=dict(required=False, type='dict'),
|
|
||||||
inventory=dict(required=False, type='str'),
|
|
||||||
scm_branch=dict(required=False, type='str'),
|
|
||||||
job_type=dict(required=False, type='str', choices=['run', 'check']),
|
|
||||||
job_tags=dict(required=False, type='str'),
|
|
||||||
skip_tags=dict(required=False, type='str'),
|
|
||||||
limit=dict(required=False, type='str'),
|
|
||||||
diff_mode=dict(required=False, type='bool'),
|
|
||||||
verbosity=dict(required=False, type='str', choices=['0', '1', '2', '3', '4', '5']),
|
|
||||||
workflow_job_template=dict(required=True, type='str', aliases=['workflow']),
|
|
||||||
organization=dict(required=False, type='str'),
|
|
||||||
unified_job_template=dict(required=False, type='str'),
|
|
||||||
all_parents_must_converge=dict(required=False, type='bool'),
|
|
||||||
identifier=dict(required=True, type='str'),
|
identifier=dict(required=True, type='str'),
|
||||||
|
workflow_job_template=dict(required=True, type='str', aliases=['workflow']),
|
||||||
|
organization=dict(type='str'),
|
||||||
|
extra_data=dict(type='dict'),
|
||||||
|
inventory=dict(type='str'),
|
||||||
|
scm_branch=dict(type='str'),
|
||||||
|
job_type=dict(type='str', choices=['run', 'check']),
|
||||||
|
job_tags=dict(type='str'),
|
||||||
|
skip_tags=dict(type='str'),
|
||||||
|
limit=dict(type='str'),
|
||||||
|
diff_mode=dict(type='bool'),
|
||||||
|
verbosity=dict(type='str', choices=['0', '1', '2', '3', '4', '5']),
|
||||||
|
unified_job_template=dict(type='str'),
|
||||||
|
all_parents_must_converge=dict(type='bool'),
|
||||||
success_nodes=dict(type='list', elements='str'),
|
success_nodes=dict(type='list', elements='str'),
|
||||||
always_nodes=dict(type='list', elements='str'),
|
always_nodes=dict(type='list', elements='str'),
|
||||||
failure_nodes=dict(type='list', elements='str'),
|
failure_nodes=dict(type='list', elements='str'),
|
||||||
|
|||||||
Reference in New Issue
Block a user