From 026433ce63e27c551ea7f06e48088a105ef5992e Mon Sep 17 00:00:00 2001 From: Serge Simard Date: Mon, 3 Jun 2019 14:36:50 -0400 Subject: 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 --- .../test-blueprint/remote_ansible/Definitions/remote_ansible.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'components/model-catalog/blueprint-model') 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" }, -- cgit 1.2.3-korg