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