Skip to content
This repository has been archived by the owner on Sep 10, 2020. It is now read-only.

bibliosansfrontieres/idbuntu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

idbuntu

ideasbox + ubuntu == idbuntu.

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

Features

  • Installs a bunch of softwares -- tor-browser and skype included
  • Configures a session that is used as a template for guest sessions
  • Many more to come

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'