summaryrefslogtreecommitdiffstats
path: root/components
diff options
context:
space:
mode:
authorSerge Simard <serge@agilitae.com>2019-08-16 16:22:25 -0400
committerSerge Simard <serge@agilitae.com>2019-08-16 16:22:25 -0400
commit4ef58208a77b68af7c2cd7b13d69105ba1d6ad2a (patch)
tree8ee0e1dd50f16c7e20976d3b368d9d7341fe8929 /components
parent19dfd637dd3888b2f986d9e3543c34ff7dc6b4aa (diff)
Add support for AWX workflow_job_template execution to Remote Ansible Executor.
Issue-ID: CCSDK-1357 Signed-off-by: Serge Simard <serge@agilitae.com> Change-Id: Id0014834f528a437d26127aa9fe1da4a8316bf22
Diffstat (limited to 'components')
-rw-r--r--components/model-catalog/blueprint-model/test-blueprint/remote_ansible/Definitions/node_types.json9
-rw-r--r--components/model-catalog/definition-type/starter-type/node_type/component-remote-ansible-executor.json5
2 files changed, 12 insertions, 2 deletions
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,