Rundeck add Node Linux

A Node is a resource that is either a physical or virtual instance of a network accessible host. Nodes have a few basic attributes but a Node’s attributes can be extended to include arbitrary named key/value pairs. Attributes typically describe the properties of a node or reflect the state of the node. One of a Node’s built in attributes is called "tags" which is a list of classifications or categories about that Node.

Captura de Tela 2015-06-11 às 14.14.49
1. Create a ssh key and copy to your node

ssh-keygen -t rsa
ssh root@192.168.10.X mkdir -p .ssh
cat .ssh/id_rsa.pub | ssh root@192.168.10.X 'cat >> .ssh/authorized_keys

2. Edit the resources.xml to add new nodes.
vim /opt/rundeck/projects/Project01/etc/resources.xml

3. Add this line:

Captura de Tela 2015-06-11 às 15.04.10

4. Run a command:
Captura de Tela 2015-06-11 às 15.06.19

Success!

You may also like...

3 Responses

  1. Edouard says:

    Seriously, in 2015, you should use ssh-copy-id
    But nice article though

  2. dluisi says:

    Dziękujemy za odwiedzenie mojego przyjaciela , często sprawdzać . Dobrze jest wiedzieć, że ludzie od tej pory cieszą się moją pracę .

  1. July 1, 2015

    Jezyk Wloski

    Wspaniale pomysly kosztuja grosze. Bezcenni sa ludzie, ktorzy je urzeczywistniaja. Twj blog jest tego wspanialym przykladem…

Leave a Reply

Your email address will not be published. Required fields are marked *