rd-project - Create projects.
rd-project [-vh] -a create -p projectname [ --property=value ]...
The rd-project command is used to create projects.
The command will create the necessary directory structure and configuration files, and can be used to configure the project's properties.
-h
displays the usage information presented above.
-v
run verbose.
-a
The action name. Only "create" is supported.
-p
The project name
--property=value
Specify property values for the project's configuration file. Include one or more --property=value combinations.
The following environment variables are assumed during the execution of rd-setup:
JAVA_HOME :Java installation directory
RDECK_BASE : Rundeck install directory
Examples
Create a new project named "production":
rd-project -a create -p production
Create a new project and specify the "project.ssh-keypath" value as well as a path for the nodes data.
rd-project -a create -p production --project.ssh-keypath=/path/to/keyfile \
--resources.source.1.config.file=/path/to/nodesfile
The Rundeck source code and all documentation may be downloaded from https://github.com/dtolabs/rundeck/.