aaaaa < fill in > test testme
aa
aaa Ansible is a deployment automation tool.
You can install the VSC node via an ansible playbook. Follow the instructions to install ansible on your machine. Sshpass is also a requirement (apt install sshpass
). Note: it is only available on linux (you can also use it in WSL).
The installation has been tested on ubuntu.
To use the supplied ansible script you will need to define a target node. This can be done by creating an inventory.yml
file and dropping it in the root of this project.
---
vsc_nodes:
hosts:
raspberrypi:
ansible_host: 192.168.0.100 #changeme
ansible_user: pi #changeme
ansible_password: <mypassword> #changeme
ansible_become_pass: <mypassword> #changeme
The ansible playbook can then be launched via the command shown below.
ansible-playbook deploy/ansible/docker_install/playbook.yml -i inventory.yml
You will be prompted for various hive keys that need to be entered in order for your node to function properly.
Note: the last step of the script takes really long for the first time as it needs to fetch node modules. If you wanna check if your node is actively doing something check the top
command.
On a high level the script
- installs docker and its prequesites
- copies over relevant files
- starts up the docker-compose file to launch the node
- register the update.sh script as a crown job to automatically keep the node up to date
The bare_metal installation is currently not completed.