(English) Install Cloudy on several hosts with Ansible

Disculpeu, aquesta entrada està disponible només en anglès americà. 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.)

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.