diff options
Diffstat (limited to 'ms/blueprintsprocessor/functions/ansible-awx-executor/src')
-rw-r--r-- | ms/blueprintsprocessor/functions/ansible-awx-executor/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/ansible/executor/ComponentRemoteAnsibleExecutor.kt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ms/blueprintsprocessor/functions/ansible-awx-executor/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/ansible/executor/ComponentRemoteAnsibleExecutor.kt b/ms/blueprintsprocessor/functions/ansible-awx-executor/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/ansible/executor/ComponentRemoteAnsibleExecutor.kt index 9ea6034a8..6f994edab 100644 --- a/ms/blueprintsprocessor/functions/ansible-awx-executor/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/ansible/executor/ComponentRemoteAnsibleExecutor.kt +++ b/ms/blueprintsprocessor/functions/ansible-awx-executor/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/ansible/executor/ComponentRemoteAnsibleExecutor.kt @@ -318,14 +318,14 @@ open class ComponentRemoteAnsibleExecutor( val askLimitOnLaunch = jtLaunchReqs.at("/ask_limit_on_launch").asBoolean() if (askLimitOnLaunch && !limitProp.isNullOrMissing()) { - payload.set(INPUT_LIMIT_TO_HOST, limitProp) + payload.set<JsonNode>(INPUT_LIMIT_TO_HOST, limitProp) } val askTagsOnLaunch = jtLaunchReqs.at("/ask_tags_on_launch").asBoolean() if (askTagsOnLaunch && !tagsProp.isNullOrMissing()) { - payload.set(INPUT_TAGS, tagsProp) + payload.set<JsonNode>(INPUT_TAGS, tagsProp) } if (askTagsOnLaunch && !skipTagsProp.isNullOrMissing()) { - payload.set("skip_tags", skipTagsProp) + payload.set<JsonNode>("skip_tags", skipTagsProp) } } @@ -336,10 +336,10 @@ open class ComponentRemoteAnsibleExecutor( } else { inventoryProp } - payload.set(INPUT_INVENTORY, inventoryKeyId) + payload.set<JsonNode>(INPUT_INVENTORY, inventoryKeyId) } - payload.set("extra_vars", extraArgs) + payload.set<JsonNode>("extra_vars", extraArgs) return payload.asJsonString(false) } |