diff options
author | Alexis de Talhouët <adetalhouet89@gmail.com> | 2019-04-25 09:33:43 -0400 |
---|---|---|
committer | Alexis de Talhouët <adetalhouet89@gmail.com> | 2019-04-25 10:56:56 -0400 |
commit | dea21123218a3ac602f9a859ffddae8e72e4194d (patch) | |
tree | f24daa60dd85b29a6867969f5d0ce98b3cc801fd /components/model-catalog/blueprint-model/test-blueprint/remote_scripts/Plans | |
parent | 79895ed99627931ab6c934dab074e36c3e9e06a4 (diff) |
Finalize ansible usage
Change-Id: Iaca6bb573e31607eaa9a3a603e1e4beae60c817c
Issue-ID: CCSDK-1215
Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
Diffstat (limited to 'components/model-catalog/blueprint-model/test-blueprint/remote_scripts/Plans')
-rw-r--r-- | components/model-catalog/blueprint-model/test-blueprint/remote_scripts/Plans/CONFIG_ExecAnsiblePlaybook.xml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/components/model-catalog/blueprint-model/test-blueprint/remote_scripts/Plans/CONFIG_ExecAnsiblePlaybook.xml b/components/model-catalog/blueprint-model/test-blueprint/remote_scripts/Plans/CONFIG_ExecAnsiblePlaybook.xml new file mode 100644 index 000000000..aad0a0d69 --- /dev/null +++ b/components/model-catalog/blueprint-model/test-blueprint/remote_scripts/Plans/CONFIG_ExecAnsiblePlaybook.xml @@ -0,0 +1,27 @@ +<service-logic + xmlns='http://www.onap.org/sdnc/svclogic' + xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' + xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='CONFIG' version='1.0.0'> + <method rpc='ResolveAnsibleVar' mode='sync'> + <block atomic="true"> + <execute plugin="resolve-ansible-vars" method="process"> + <outcome value='failure'> + <return status="failure"> + </return> + </outcome> + <outcome value='success'> + <execute plugin="execute-remote-ansible" method="process"> + <outcome value='failure'> + <return status="failure"> + </return> + </outcome> + <outcome value='success'> + <return status='success'> + </return> + </outcome> + </execute> + </outcome> + </execute> + </block> + </method> +</service-logic>
\ No newline at end of file |