(English) Install Cloudy on several hosts with Ansible

Disculpa, pero esta entrada está disponible sólo en inglés estadounidense. For the sake of viewer convenience, the content is shown below in the alternative language. You may click the link to switch the active language.

To install Cloudy in only one host, you may run the cloudynitzar script, which will install all packages on your Linux machine.

To install on several hosts, an Ansible playbook is a convenient way to do it.
You will need to install Ansible on your device.

Download the repository cloudynitzar, edit the file «hosts» and add the IPs of the machines where you want to install Cloudy,

e.g.
[cloudy]
10.1.24.130
10.1.24.131

You may need to add the public keys of the target devices to your know_hosts file on the device where you run Ansible.
e.g. ssh-keyscan 10.1.24.130 >> ~/.ssh/known_hosts

Run the playbook with: ansible-playbook -i hosts playbook.yml –ask-pass –extra-vars «hosts=cloudy user=your_user_name»
(you may need to add the parameter -K or –ask-become-pass if Ansible fails due to a password error.)

Deja un comentario

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *

Este sitio usa Akismet para reducir el spam. Aprende cómo se procesan los datos de tus comentarios.