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"
28 "topology_template": {
30 "execute-remote-python": {
33 "description": "Execute Remote Python Script",
34 "target": "execute-remote-python",
44 "prepare-environment-logs": {
48 "execute-remote-python",
49 "prepare-environment-logs"
53 "execute-command-logs": {
57 "execute-remote-python",
58 "execute-command-logs"
64 "execute-remote-ansible": {
67 "description": "Execute Remote Ansible Script",
68 "target": "execute-remote-ansible",
78 "prepare-environment-logs": {
82 "execute-remote-ansible",
83 "prepare-environment-logs"
87 "execute-command-logs": {
91 "execute-remote-ansible",
92 "execute-command-logs"
100 "execute-remote-python": {
101 "type": "component-remote-python-executor",
103 "ComponentRemotePythonExecutor": {
107 "primary": "component-script"
110 "command": "python SamplePython.py blah",
125 "component-script": {
126 "type": "artifact-script-python",
127 "file": "Scripts/python/SamplePython.py"
131 "execute-remote-ansible": {
132 "type": "component-remote-python-executor",
134 "ComponentRemotePythonExecutor": {
138 "primary": "component-script"
141 "command": "ansible-playbook first.yaml",
150 "type": "ansible_galaxy",
162 "component-script": {
163 "type": "artifact-script-ansible",
164 "file": "Scripts/ansible/first.yaml"