bibliosansfrontieres / idbuntu

Ansible playbook for the laptops shipped with BSF's Ideasboxes. Migrated to https://gitlab.com/bibliosansfrontieres/ansible/idbuntu
https://gitlab.com/bibliosansfrontieres/ansible/idbuntu
0 stars 1 forks source link
ansible ubuntu

idbuntu

ideasbox + ubuntu == idbuntu.

This playbook help us to install and configure Ubuntu on the laptops we ship with BSF's Ideasbox.

Features

HOWTO

Prepare your workspace

apt-get install ansible
git clone https://github.com/bibliosansfrontieres/idbuntu

Bootstrap

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.

ansible all the things

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'