ideasbox + ubuntu == idbuntu.
This playbook help us to install and configure Ubuntu on the laptops we ship with BSF's Ideasbox.
tor-browser
and skype
includedapt-get install ansible
git clone https://github.com/bibliosansfrontieres/idbuntu
This happens on the target laptop(s).
Install Ubuntu. Open a terminal, and bootstrap the laptop:
curl http://drop.bsf-intranet.org/idbuntu/go.sh | sudo bash -
This script basically ensures one can SSH the laptops and display the local IP address so you can feed your ansible inventory file.
This happens on your "controler" (i.e. your own laptop).
Example hosts
file:
malakasa-pc1 ansible_ssh_host=10.10.8.96
malakasa-pc2 ansible_ssh_host=10.10.8.217
malakasa-pc3 ansible_ssh_host=10.10.8.189
malakasa-pc4 ansible_ssh_host=10.10.8.222
Define the project_type
, which can be ideascube
(the default), ideasbox
or koombook
.
Run:
ansible-playbook idbuntu.yml -e 'project_type=ideascube'
You might want to run the playbook on a specific subset of hosts:
ansible-playbook idbuntu.yml -l malakasa-pc1,malakasa-pc3 -e 'project_type=ideascube'