rd-project - Create projects.
rd-project [-vh] -a create -p projectname [ --property=value ]...
The rd-project command is used to create projects in the Rundeck base directory.
The command will create the necessary directory structure and configuration files, and can be used to configure the project's properties.
-hdisplays the usage information presented above.
-vrun verbose.
-aThe action name. Only "create" is supported.
-pThe project name
--property=valueSpecify 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 framework instance 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 URL for the "project.resources.url"
rd-project -a create -p production --project.ssh-keypath=/path/to/keyfile \
--project.resources.url=http://example.com/nodes
The Rundeck source code and all documentation may be downloaded from https://github.com/dtolabs/rundeck/.