/dotfiles

Primary LanguageShellMIT LicenseMIT

dotfiles

Status of automatic dotfiles installation via setup.py:

Build Status

This is a collection of my dotfiles together with ansible-based automatic installation facilities to allow transferring my setup quickly and painlessly to new machines.

Installation

Installation of tools is done using ansible.

First, we need to install ansible which we can do easily using pip:

pip install ansible

An installation of all most commonly used targets can then be done using:

ansible-playbook -i dotfiles_installation/localhost_inventory.yml dotfiles_installation/install/install.yml

To install only a single target with its configuration, e.g. vim, simply do:

ansible-playbook -i dotfiles_installation/localhost_inventory.yml dotfiles_installation/install/install.yml --tags="vim"

To list all possible targets do:

ansible-playbook --list-tags dotfiles_installation/install/install.yml

Uninstalling a dotfile target with associated packages is also supported:

ansible-playbook -i dotfiles_installation/localhost_inventory.yml dotfiles_installation/uninstall/uninstall.yml --tags="vim"