From 4ef58208a77b68af7c2cd7b13d69105ba1d6ad2a Mon Sep 17 00:00:00 2001 From: Serge Simard Date: Fri, 16 Aug 2019 16:22:25 -0400 Subject: Add support for AWX workflow_job_template execution to Remote Ansible Executor. Issue-ID: CCSDK-1357 Signed-off-by: Serge Simard Change-Id: Id0014834f528a437d26127aa9fe1da4a8316bf22 --- .../test-blueprint/remote_ansible/Definitions/node_types.json | 9 +++++++-- .../node_type/component-remote-ansible-executor.json | 5 +++++ 2 files changed, 12 insertions(+), 2 deletions(-) (limited to 'components') diff --git a/components/model-catalog/blueprint-model/test-blueprint/remote_ansible/Definitions/node_types.json b/components/model-catalog/blueprint-model/test-blueprint/remote_ansible/Definitions/node_types.json index 5f0deeb98..cb9614eed 100644 --- a/components/model-catalog/blueprint-model/test-blueprint/remote_ansible/Definitions/node_types.json +++ b/components/model-catalog/blueprint-model/test-blueprint/remote_ansible/Definitions/node_types.json @@ -24,8 +24,13 @@ "process" : { "inputs" : { "job-template-name" : { - "description" : "Job template to execute in AWX", - "required" : true, + "description" : "Primary key or name of the job template to launch new job.", + "required" : false, + "type" : "string" + }, + "workflow-job-template-id" : { + "description" : "Primary key (name not supported) of the workflow job template to launch new job.", + "required" : false, "type" : "string" }, "limit" : { diff --git a/components/model-catalog/definition-type/starter-type/node_type/component-remote-ansible-executor.json b/components/model-catalog/definition-type/starter-type/node_type/component-remote-ansible-executor.json index 508380c91..f5d9d3f7a 100644 --- a/components/model-catalog/definition-type/starter-type/node_type/component-remote-ansible-executor.json +++ b/components/model-catalog/definition-type/starter-type/node_type/component-remote-ansible-executor.json @@ -30,6 +30,11 @@ "required": true, "type": "string" }, + "workflow-job-template-id": { + "description": "Primary key (name not supported) of the workflow job template to launch new job.", + "required": false, + "type": "string" + }, "limit": { "description": "Specify host limit for job template to run.", "required": false, -- cgit 1.2.3-korg