RawIron / devops-my-ubuntu

clone my ubuntu setup using Ansible playbook
1 stars 1 forks source link
ansible ansible-playbooks devops ubuntu

My Ubuntu Playbooks

Build Status

Rebuild my Ubuntu laptop using Ansible playbooks. Just for the fun of it and to learn more about Ansible. Also automate a bunch of setup steps, eg add a new git repo to my virtualenvwrapper and bind to a the project home. A Vagrant box is used to test the Ansible playbooks.

Restore 1st steps

Test on the vagrant box

First create a vagrant box

$ vagrant up

Run defined tests on the vagrant box.

laptop$ vagrant ssh --command "cd /vagrant; ANSIBLE_INVENTORY=hosts ./test.sh"

Then test the ansible playbooks on the vagrant box

Deploy from laptop onto the vagrant box

Run on laptop

In my usual workflow I change the ansible script, for example add a new alias aliases.zsh, and then deploy to my laptop with

laptop$ ansible-playbook --inventory-file=hosts deploy.yml --tags=alias --extra-vars 'as_root=no'

Use Ansible container instead of local Ansible install

docker pull cytopia/ansible:latest

docker run --rm -v $(pwd):/data cytopia/ansible ansible-playbook --inventory-file=hosts deploy.yml

Categories and the major software that I use

devops

automate everything and so everything is reproducible. it can be run again and again. makes testing, load testing, building and deploying easy. also great for scaling.

aws

tools to access, manage and deploy.

jvm development

python development

great python packages to help writing great code. use functional programming, TDD, dependency injection, database abstraction, database migration.

system programming

programming languages for high performance and system level access.

data analysis

wrangle, plot, predict, test hypothesis, estimate.

py-data

development tools

write code with fully fledged IDE or lightweight editor. plugins can be used to extend the functionality.

intellij plugins

vim plugins

system tools

look under the hood.

performance

show and measure what is happening in the Linux kernel.

user account

github repos

office tools

communicate. create and manage documents, files.

firefox plugins

media

view and process photos, e-books, audio and video.

games

eye candy

give Linux the look-and-feel I like. unfortunately haven`t figured out how to configure a "glass look"

tools for UI tweaks. did a few tweaks.

Compiz config settings manager, Unity plugin

browse and download a theme

gnome-look.org
sudo apt-get install arc-theme

set theme in Unity Tweak Tool

change desktop background

terminator