DevOps Buzz
Search…
Bash / Shell
Bitbucket
Distros
Elasticsearch
General
Guidelines / Standards
microk8s
Prometheus
RabbitMQ
VirtualBox
Cheat Sheet
Rundeck commands.

Install server

1
docker run \
2
> -tid \
3
> -p 4440:4440 \
4
> --name rundeck \
5
> jordan/rundeck:latest
Copied!

References

Tips and Tricks

Install plugin

Download the plugin jar file and put it here:
1
/var/lib/rundeck/libext/
Copied!

Add node

Change into the newly created project directory with the command:
1
cd /var/rundeck/projects/PROJECTNAME/etc/
Copied!
Where PROJECTNAME is the name of the project you just created.
Create a new configuration file with the command:
1
nano resources.xml
Copied!
The contents of the file will look like this:
1
<?xml version="1.0" encoding="UTF-8"?>
2
<project>
3
<node name="NAME"
4
osFamily="unix"
5
username="USERNAME"
6
hostname="REMOTE_IP"
7
ssh-authentication="password"
8
sudo-command-enabled="true"
9
sudo-password-storage-path="keys/USERNAME"
10
/>
11
</project>
Copied!
Where:
  • NAME is the name of the remote node.
  • USERNAME is the username on the remote node.
  • REMOTE_IP is the IP address of the remote node.
Save and close that file.
Restart Rundeck with the command:
1
sudo systemctl restart rundeckd
Copied!

References