sudo apt-get install -y dirmngr git
echo "deb http://ppa.launchpad.net/ansible/ansible/ubuntu trusty main" | sudo tee -a /etc/apt/sources.list
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 93C4A3FD7BB9C367
sudo apt-get update
sudo apt-get install -y ansible
git clone https://github.com/p-bizouard/homebox-playbook-ansible.git
cd homebox-playbook-ansible
ansible-playbook playbooks/playbook-probe.yml
Note : Un Raspberry Pi peut acceuillir une sonde et l'UI simultanément
git clone https://github.com/p-bizouard/homebox-playbook-ansible.git
cd homebox-playbook-ansible
ansible-playbook playbooks/playbook-ui.yml
sudo hostnamectl set-hostname NOM_DU_RASPBERRY
echo $(hostname -I | cut -d\ -f1) $(hostname) | sudo tee -a /etc/hosts
- Passer sur pm2