Comments on How to install Rundeck on a Debian 8 (Jessie) server

Rundeck allows you to run commands/scripts on a remote computer. In this tutorial, I will deal with Linux servers : Debian for rundeck server and Debian/ubuntu for the remote computers. This tutorial shows the steps to install and configure a rundeck server.

2 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: Josh

Trying to learn how to use rundeck.

A note about the last part where it talks about editing /var/rundeck/projects/your_project_name/etc/resources.xml. I belive the instructions after that point are incorrect as resources.xml only contains a list of nodes(servers) that you want to run the command against.

The other file in the directory (project.properties) doesn't seem to be the right place for giving the option.sshPassword1 and option.sudoPassword2 variables either. I'm not sure where they are mean't to go :(

Also some steps about adding nodes might be useful as you can't do that through the web interface for some reason:

A node is another name for a server/client that you want to run the job against. To add a node you edit /var/rundeck/projects/your-project-name/etc/resources.xml. after the <project> tag add the following (repeat each node you wish to add):

<node name="friendly-name" description="detailed description" tags="accurate tags" hostname="hostname" osArch="amd64" osFamily="unix" osName="Ubuntu" osVersion="14.04" username="remote-user-account"/>

Still not sure which file I need to edit to do the "Modify the line beginning with ssh-authentication=....." step though.

By: JD

Seems like a long way to go when there are lots of smaller, non-Java, ssh-based solutions to this.  A few:

ssh

cluster-ssh

ansible

are just a few examples.  Loading java onto a server just for this purpose seems counter-productive.  After ssh-server is loaded, most systems have all the dependencies needed for ansible already. A simple way to run a command on all hosts listed in the ansible inventory:

$ ansible -i hosts.inventory -a "cat /var/run/reboot-required" all