aboutsummaryrefslogtreecommitdiffstats
path: root/components/model-catalog/blueprint-model/test-blueprint/remote_ansible/Definitions/node_types.json
blob: 5f0deeb980459eeafdfdb499af5e6ac18880e06e (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
75
76
77
78
79
80
81
82
83
84
85
86
{
  "node_types" : {
    "component-remote-ansible-executor" : {
      "description" : "Remote Ansible (AWX) Execution Component.",
      "version" : "1.0.0",
      "attributes" : {
        "ansible-command-status" : {
          "required" : false,
          "type" : "string"
        },
        "ansible-command-logs" : {
          "required" : false,
          "type" : "string"
        }
      },
      "capabilities" : {
        "component-node" : {
          "type" : "tosca.capabilities.Node"
        }
      },
      "interfaces" : {
        "ComponentRemoteAnsibleExecutor" : {
          "operations" : {
            "process" : {
              "inputs" : {
                "job-template-name" : {
                  "description" : "Job template to execute in AWX",
                  "required" : true,
                  "type" : "string"
                },
                "limit" : {
                  "description" : "Limit to this comma-separated list of hosts.",
                  "required" : false,
                  "type" : "string"
                },
                "inventory" : {
                  "description" : "Use this hosts inventory ID for this run.",
                  "required" : false,
                  "type" : "string"
                },
                "tags" : {
                  "description" : "Limit this run to comma-separated list of tags.",
                  "required" : false,
                  "type" : "string"
                },
                "skip-tags" : {
                  "description" : "Skip this comma-separated list of tags for this run.",
                  "required" : false,
                  "type" : "string"
                },
                "extra-vars" : {
                  "description" : "Specify extra args for this run.",
                  "required" : false,
                  "type" : "json"
                },
                "endpoint-selector" : {
                  "description" : "Remote AWX Server selector name.",
                  "required" : false,
                  "type" : "string",
                  "default" : "awx-remote-server"
                }
              }
            }
          }
        }
      },
      "derived_from" : "tosca.nodes.Component"
    },

    "tosca.nodes.Component" : {
      "description" : "This is default Component Node",
      "version" : "1.0.0",
      "derived_from" : "tosca.nodes.Root"
    },
    "tosca.nodes.ResourceSource" : {
      "description" : "TOSCA base type for Resource Sources",
      "version" : "1.0.0",
      "derived_from" : "tosca.nodes.Root"
    },
    "tosca.nodes.Workflow" : {
      "description" : "This is Directed Graph Node Type",
      "version" : "1.0.0",
      "derived_from" : "tosca.nodes.Root"
    }
  }
}