resource-yaml-v13 - describes the Rundeck resource model document Yaml format
The resource YAML document declares a resource model used by a Rundeck Project to define the set of Nodes that are available.
See http://yaml.org for more information about YAML.
The resource format supports two structures: either a Yaml Sequence of Node definitions, or a Yaml Map of node names with Node definitions as values.
Example:
- somenode: ...
...
- somenode2: ...
OR
somenode:
hostname: ...
...
somenode2:
hostname: ...
In the second case, the nodename entry is not required.
A Node definition consists of a Map with some required and some optional entries.
Required Entries:
nodenameName of the node, this must be a unique Identifier across nodes within a project
hostnameHostname of the node. This can be any IP Address or hostname to address the node. Since hostname is used to make SSH connections, it is possible to overload the value to include port number. (eg, hostname:port).
usernameUser name to connect to the node via SSH.
Optional Entries:
descriptionA description of the Node
tagsA literal with comma-separated tag strings, or a Sequence of literals
osFamilyOS Family
osArchOS Architecture
osNameOS Name
osVersionOS Version
editUrlURL to an external resource model service.
remoteUrlURL to an external resource model editor service.
Specify any custom attributes about node using a string value.
editUrl/remoteUrl see the Rundeck User Manual.Venkman.local:
description: Rundeck server node
hostname: Venkman.local
nodename: Venkman.local
osArch: x86_64
osFamily: unix
osName: Mac OS X
osVersion: 10.6.6
tags: ''
username: greg
Specify some custom attributes:
bartholemew:
description: Webapp node
hostname: bartholemew
nodename: bartholemew
tags: 'web,app'
username: greg
app-port: 550
https-port: 553
The Rundeck source code and all documentation may be downloaded from https://github.com/dtolabs/rundeck/.