2 "tosca_definitions_version": "controller_blueprint_1_0_0",
4 "template_author": "Brinda Santh Muthuramalingam",
5 "author-email": "brindasanth@in.ibm.com",
6 "user-groups": "ADMIN, OPERATION",
7 "template_name": "remote_scripts",
8 "template_version": "1.0.0",
9 "template_tags": "brinda, tosca"
13 "file": "Definitions/data_types.json"
16 "file": "Definitions/relationship_types.json"
19 "file": "Definitions/artifact_types.json"
22 "file": "Definitions/node_types.json"
25 "file": "Definitions/policy_types.json"
29 "remote-argument-properties": {
34 "ansible-argument-properties": {
36 "arg1": "Scripts/ansible/inventory.yaml",
37 "arg2": "--extra-vars",
40 "resolve-ansible-vars",
48 "topology_template": {
50 "execute-remote-python": {
53 "description": "Execute Remote Python Script",
54 "target": "execute-remote-python",
69 "prepare-environment-logs": {
73 "execute-remote-python",
74 "prepare-environment-logs"
78 "execute-command-logs": {
82 "execute-remote-python",
83 "execute-command-logs"
89 "execute-remote-ansible": {
92 "description": "Execute Remote Ansible Script",
93 "target": "execute-remote-ansible-process",
114 "execute-remote-ansible-properties": {
115 "description": "Dynamic PropertyDefinition for workflow(execute-remote-ansible).",
117 "type": "dt-execute-remote-ansible-properties"
121 "ansible-variable-resolution": {
125 "resolve-ansible-vars",
130 "prepare-environment-logs": {
134 "execute-remote-ansible",
135 "prepare-environment-logs"
139 "execute-command-logs": {
143 "execute-remote-ansible",
144 "execute-command-logs"
152 "execute-remote-python": {
153 "type": "component-remote-python-executor",
155 "ComponentRemotePythonExecutor": {
159 "primary": "component-script"
162 "command": "python SamplePython.py",
171 "argument-properties": "*remote-argument-properties"
178 "component-script": {
179 "type": "artifact-script-python",
180 "file": "Scripts/python/SamplePython.py"
184 "execute-remote-ansible-process": {
185 "type": "dg-generic",
190 "dg-execute-remote-ansible-process"
193 "dependency-node-templates": [
194 "resolve-ansible-vars",
195 "execute-remote-ansible"
199 "dg-execute-remote-ansible-process": {
200 "type": "artifact-directed-graph",
201 "file": "Plans/CONFIG_ExecAnsiblePlaybook.xml"
205 "resolve-ansible-vars": {
206 "type": "component-resource-resolution",
208 "ResourceResolutionComponent": {
212 "artifact-prefix-names": [
221 "ansible-vars-template": {
222 "type": "artifact-template-velocity",
223 "file": "Templates/ansible-vars-template.vtl"
225 "ansible-vars-mapping": {
226 "type": "artifact-mapping-resource",
227 "file": "Templates/ansible-vars-mapping.json"
231 "execute-remote-ansible": {
232 "type": "component-remote-python-executor",
234 "ComponentRemotePythonExecutor": {
238 "primary": "component-script"
241 "command": "ANSIBLE_HOST_KEY_CHECKING=False ansible-playbook first.yaml",
242 "argument-properties": "*ansible-argument-properties",
251 "type": "ansible_galaxy",
263 "component-script": {
264 "type": "artifact-script-ansible",
265 "file": "Scripts/ansible/first.yaml"