498db82468cb845c6e1ea4b06ab40b33edc0bc83
[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   },
14   "capabilities": {
15     "component-node": {
16       "type": "tosca.capabilities.Node"
17     }
18   },
19   "interfaces": {
20     "ComponentRemoteAnsibleExecutor": {
21       "operations": {
22         "process": {
23           "inputs": {
24             "job-template-name": {
25               "description": "Primary key or name of the job template to launch new job.",
26               "required": true,
27               "type": "string"
28             },
29             "limit": {
30               "description": "Specify host limit for job template to run.",
31               "required": false,
32               "type": "string"
33             },
34             "inventory": {
35               "description": "Specify inventory for job template to run.",
36               "required": false,
37               "type": "string"
38             },
39             "extra-vars" : {
40               "required" : false,
41               "type" : "json",
42               "description": "json formatted text that contains extra variables to pass on."
43             },
44             "tags": {
45               "description": "Specify tagged actions in the playbook to run.",
46               "required": false,
47               "type": "string"
48             },
49             "skip-tags": {
50               "description": "Specify tagged actions in the playbook to omit.",
51               "required": false,
52               "type": "string"
53             },
54             "endpoint-selector": {
55               "description": "Remote AWX Server selector name.",
56               "required": true,
57               "type": "string"
58             }
59           }
60         }
61       }
62     }
63   },
64   "derived_from": "tosca.nodes.Component"
65 }