Merge branch 'devel' into feature_constructed-inventory

This commit is contained in:
Hao Liu
2023-01-31 16:42:11 -05:00
86 changed files with 2421 additions and 1019 deletions

View File

@@ -123,7 +123,7 @@ def main():
module_name=dict(required=True),
module_args=dict(),
forks=dict(type='int'),
verbosity=dict(type='int', choices=['0', '1', '2', '3', '4', '5']),
verbosity=dict(type='int', choices=[0, 1, 2, 3, 4, 5]),
extra_vars=dict(type='dict'),
become_enabled=dict(type='bool'),
diff_mode=dict(type='bool'),

View File

@@ -1 +0,0 @@
ad_hoc_command.py

View File

@@ -1 +0,0 @@
ad_hoc_command_cancel.py

View File

@@ -1 +0,0 @@
ad_hoc_command_wait.py

View File

@@ -1 +0,0 @@
application.py

View File

@@ -1 +0,0 @@
controller_meta.py

View File

@@ -1 +0,0 @@
credential.py

View File

@@ -1 +0,0 @@
credential_input_source.py

View File

@@ -1 +0,0 @@
credential_type.py

View File

@@ -1 +0,0 @@
execution_environment.py

View File

@@ -1 +0,0 @@
export.py

View File

@@ -1 +0,0 @@
group.py

View File

@@ -1 +0,0 @@
host.py

View File

@@ -1 +0,0 @@
import.py

View File

@@ -1 +0,0 @@
instance_group.py

View File

@@ -1 +0,0 @@
inventory.py

View File

@@ -1 +0,0 @@
inventory_source.py

View File

@@ -1 +0,0 @@
inventory_source_update.py

View File

@@ -1 +0,0 @@
job_cancel.py

View File

@@ -1 +0,0 @@
job_launch.py

View File

@@ -1 +0,0 @@
job_list.py

View File

@@ -1 +0,0 @@
job_template.py

View File

@@ -1 +0,0 @@
job_wait.py

View File

@@ -1 +0,0 @@
label.py

View File

@@ -1 +0,0 @@
license.py

View File

@@ -1 +0,0 @@
notification_template.py

View File

@@ -1 +0,0 @@
organization.py

View File

@@ -1 +0,0 @@
project.py

View File

@@ -1 +0,0 @@
project_update.py

View File

@@ -1 +0,0 @@
role.py

View File

@@ -1 +0,0 @@
schedule.py

View File

@@ -1 +0,0 @@
settings.py

View File

@@ -1 +0,0 @@
team.py

View File

@@ -1 +0,0 @@
token.py

View File

@@ -1 +0,0 @@
user.py

View File

@@ -1 +0,0 @@
workflow_approval.py

View File

@@ -1 +0,0 @@
workflow_job_template.py

View File

@@ -1 +0,0 @@
workflow_job_template_node.py

View File

@@ -1 +0,0 @@
workflow_launch.py

View File

@@ -1 +0,0 @@
workflow_node_wait.py

View File

@@ -19,7 +19,6 @@ author: "John Westcott IV (@john-westcott-iv)"
short_description: create, update, or destroy Automation Platform Controller workflow job templates.
description:
- Create, update, or destroy Automation Platform Controller workflow job templates.
- Replaces the deprecated tower_workflow_template module.
- Use workflow_job_template_node after this, or use the workflow_nodes parameter to build the workflow's graph
options:
name:
@@ -614,6 +613,10 @@ def create_workflow_nodes(module, response, workflow_nodes, workflow_id):
if workflow_node['unified_job_template']['type'] != 'workflow_approval':
module.fail_json(msg="Unable to Find unified_job_template: {0}".format(search_fields))
inventory = workflow_node.get('inventory')
if inventory:
workflow_node_fields['inventory'] = module.resolve_name_to_id('inventories', inventory)
# Lookup Values for other fields
for field_name in (

View File

@@ -20,7 +20,6 @@ short_description: create, update, or destroy Automation Platform Controller wor
description:
- Create, update, or destroy Automation Platform Controller workflow job template nodes.
- 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.