Cheat Sheet
Rundeck commands.
docker run \
> -tid \
> -p 4440:4440 \
> --name rundeck \
> jordan/rundeck:latest
Download the plugin jar file and put it here:
/var/lib/rundeck/libext/
Change into the newly created project directory with the command:
cd /var/rundeck/projects/PROJECTNAME/etc/
Where PROJECTNAME is the name of the project you just created.
Create a new configuration file with the command:
nano resources.xml
The contents of the file will look like this:
<?xml version="1.0" encoding="UTF-8"?>
<project>
<node name="NAME"
osFamily="unix"
username="USERNAME"
hostname="REMOTE_IP"
ssh-authentication="password"
sudo-command-enabled="true"
sudo-password-storage-path="keys/USERNAME"
/>
</project>
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:
sudo systemctl restart rundeckd
Last modified 4yr ago