One repo to rule your machine.
This repository is a collection of configuration files and Ansible tasks I use to setup my machine. These files are mainly targeted to work with Ubuntu and Arch. Although these configurations are tailored for me, you can still find some inspiration in them.
To start using the configurations in this repository you will need: ansible (at least 2.5.5), make and git. The following instructions shows how to install them on Ubuntu.
# installing ansible sudo apt-add-repository ppa:ansible/ansible sudo apt-get update && sudo apt-get install ansible # installing git and make sudo apt-get install git make
Installation and usage.
First you need to clone the repository in your home directory.
git clone firstname.lastname@example.org:dexpota/.dotfiles.git ~/.dotfiles
Then pull all submodules.
After cloning the repository you can install the configuration files for your
program by using the
make utility. For example you can install
configurations file with this command.
# An example showing how to install git's configuration files. make git
Try the configuration with Vagrant
You can try out this configuration by using a virtual machine easily thanks to Vagrant. Follow these steps to create the virtual machine:
- Create a directory where the Vagrant files will be saved;
- Choose a box and create the Vagrant configuration file
vagrant init ubuntu/bionic64;
- Start the virtual machine
- Log-on to the machine
- vim: Check vim installation to make it easier, now to install vim configuration files you need to execute these commands:
cd ~/.dotfiles ansible-playbook local.yml --tags=pathogen,vim make vim