f5d9d3f7ab248ee101b94c67ed19f2fbdc04e495
[ccsdk/cds.git] /
1 {
2   "description": "This is Remote Ansible Playbook (AWX) Execution Component.",
3   "version": "1.0.0",
4   "attributes": {
5     "ansible-command-status": {
6       "required": true,
7       "type": "string"
8     },
9     "ansible-command-logs": {
10       "required": true,
11       "type": "string"
12     },
13     "response-data": {
14       "required": false,
15       "type": "json"
16     }
17   },
18   "capabilities": {
19     "component-node": {
20       "type": "tosca.capabilities.Node"
21     }
22   },
23   "interfaces": {
24     "ComponentRemoteAnsibleExecutor": {
25       "operations": {
26         "process": {
27           "inputs": {
28             "job-template-name": {
29               "description": "Primary key or name of the job template to launch new job.",
30               "required": true,
31               "type": "string"
32             },
33             "workflow-job-template-id": {
34               "description": "Primary key (name not supported) of the workflow job template to launch new job.",
35               "required": false,
36               "type": "string"
37             },
38             "limit": {
39               "description": "Specify host limit for job template to run.",
40               "required": false,
41               "type": "string"
42             },
43             "inventory": {
44               "description": "Specify inventory for job template to run.",
45               "required": false,
46               "type": "string"
47             },
48             "extra-vars" : {
49               "required" : false,
50               "type" : "json",
51               "description": "json formatted text that contains extra variables to pass on."
52             },
53             "tags": {
54               "description": "Specify tagged actions in the playbook to run.",
55               "required": false,
56               "type": "string"
57             },
58             "skip-tags": {
59               "description": "Specify tagged actions in the playbook to omit.",
60               "required": false,
61               "type": "string"
62             },
63             "endpoint-selector": {
64               "description": "Remote AWX Server selector name.",
65               "required": true,
66               "type": "string"
67             }
68           }
69         }
70       }
71     }
72   },
73   "derived_from": "tosca.nodes.Component"
74 }