iew_toolchain_ansible
Ansible Ubuntu setup
Ansible roles to setup Ubuntu desktop 18 This playbook is focused on quickly deploying a "ready to use" java developer machine.
Ansible on Ubuntu 18.04
To begin exploring Ansible as a means of managing our various servers, we need to install the Ansible software on at least one machine. We will be using an Ubuntu 14.04 VPS instance for this section.
The best way to get Ansible for Ubuntu is to add the project's PPA (personal package archive) to your system.
To do this effectively, we need to install the software-properties-common package, which will give us the ability to work with PPAs easily. (This package was called python-software-properties on older versions of Ubuntu.)
Installation
Open a unix terminal
In terminal, go to the Ansible project folder. (copy paste the following command) cd Desktop/IEW_Toolchain_Ansible/
Run the 'install.sh' script. (copy paste the following command) ./install.sh
Set your name and email infos
Wait until the end WARNING: The full installation can be 20 minutes long
Then you need to customize the playbook ansible-desktop.yml
(or create a new one) to suit your needs. Every roles are disabled by default.
Run ansible-playbook ansible-desktop.yml --ask-become-pass
and enter your sudo password to run the playbook
Roles included
Role | Description |
---|---|
General | |
proxy | Install a lot of usefull packages (curl, htop, less, zip ... see corresponding task file) |
locales | Configure system locales and timezone |
java | Install Default Java JDK |
Desktop tools | |
atom | Install Atom from WebUpd8 PPA and Sync Settings plugin |
notepad ++ | Install notepad++ from WebUpd8 PPA |
chromium | Install Chromium. May also install plugins and set policies |
desktop | Install a lot of usefull packages (meld, tilda, vlc, xclip) |
desktop-cleanup | Remove Unity sh... integrations and install Nautilus plugins |
desktop-preferences-unity | This one is very personal. Imports all my Unity preferences |
bspwm | |
bspwm | Compile bspwm binary tree tiling window manager from source. |
bspwm-environment | Install various packages to create a desktop environment |
bspwm-panel | Compile lemonbar, xdo, xtitle, etc from source to handle a panel |
sxhkd | Compile sxhkd keyboard events daemon from source. |
Dev tools | |
composer | Install Composer, PHP Dependency Manager |
angular-cli | Install angular-cli as a global package |
Services & server tools | |
docker | Install Docker and Docker compose from Docker deb repository |
nodejs | Install NodeJS from Node deb repository |
python | Install Python |
redis | Install Redis |
Others | |
dotfiles | Clone my personal dotfiles Git repository and their dependencies |
projects-installer | Clone my repository projects-installer, used to deploy my personal and clients projects (Ansible based) |
License
MIT / BSD
Author Information
This role was created in 2018 by Paulo Lopes, author of Ansible for DevOps.
Install a complete java developer machine.
ansible-galaxy install admin-ch/IEW_Toolchain_Ansible