Hosts
This file is used by ansible to install prerequisites and setup a swarm cluster. Servers IPs, users, passwords and swarm labels are described here.
Single server
Copy the default file:
> cp documentation/example_files/config/single/hosts ~/.config/livesp/
Edit the file with the following values:
• ansible_ssh_user: the username of the user created, (if you followed our procedure, it should be “livesp”)
• ansible_ssh_pass: the password of the created user
• ansible_become_pass: the password of the created user
Multi servers
Copy the file provided by LiveAction into ~/.config/livesp/hosts.