summaryrefslogtreecommitdiffstats
path: root/components
diff options
context:
space:
mode:
authorSerge Simard <serge@agilitae.com>2019-06-03 14:36:50 -0400
committerSerge Simard <serge@agilitae.com>2019-06-03 14:47:22 -0400
commit026433ce63e27c551ea7f06e48088a105ef5992e (patch)
tree1542026198351adf9592f107f4835e483a7bcdf7 /components
parent3fa6fd4c5a9f6bf5ca522b7dffe07c77626e6403 (diff)
Improved error handling for remote ansible executor.
- Aligned error status with AWX job details status; i.e. lowercase - Fixed error message in Validation module; encountered during debug. - Added better handling of inventory name resolution failure. - Now supports json endpoint selector values, via DSL. Change-Id: I71735956e4b543e5ab62e891ef1e18f4963ffadb Issue-ID: CCSDK-1357 Signed-off-by: Serge Simard <serge@agilitae.com>
Diffstat (limited to 'components')
-rw-r--r--components/model-catalog/blueprint-model/test-blueprint/remote_ansible/Definitions/remote_ansible.json4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/model-catalog/blueprint-model/test-blueprint/remote_ansible/Definitions/remote_ansible.json b/components/model-catalog/blueprint-model/test-blueprint/remote_ansible/Definitions/remote_ansible.json
index 53ca04a5d..a765f038c 100644
--- a/components/model-catalog/blueprint-model/test-blueprint/remote_ansible/Definitions/remote_ansible.json
+++ b/components/model-catalog/blueprint-model/test-blueprint/remote_ansible/Definitions/remote_ansible.json
@@ -29,7 +29,7 @@
"ansible-remote-endpoint": {
"type": "token-auth",
"url": "http://142.44.184.236",
- "token": "Bearer J9gEtMDqf7P4YsJ74fioY9VAhLDIs1"
+ "token": "Bearer J9gEtMDqf7P4YsJ7444fioY9VAhLDIs1"
}
},
"topology_template": {
@@ -106,7 +106,7 @@
"operations": {
"process": {
"inputs": {
- "endpoint-selector": { "get_input": "endpoint-selector" },
+ "endpoint-selector" : "*ansible-remote-endpoint",
"job-template-name": { "get_input": "job-template-name" },
"limit": { "get_input": "limit" },
"inventory": { "get_input": "inventory" },