Skip to content

dotfiles for various tools: git, nvim and whatnot. Managed with GNU Stow and Ansible

License

Notifications You must be signed in to change notification settings

csessh/.dotfiles

Repository files navigation

Dotfiles

This repo contains my own dev configuration files, a.k.a dotfiles. The configurations are managed with GNU Stow, and automated with Ansible

This playbook currently supports Fedora. Ubuntu and MacOS playbooks are in the work.

Ansible

Pre-requisites

Ansible is able to automate 99% of the process, however it does require the following packages to be present:

Note: 9 out of 10 times, Python and pip are shipped out of the box with a Linux distro.

To install Ansible:

sudo dnf install ansible

dotfiles playbook

As ansible.cfg and inventory are placed under ansible/ directory, the execution of the the playbook will need to be from this directory:

cd ~/.dotfiles/ansible

Running the playbook locally

If there is a vault file present (ignored by .gitignore):

ansible-playbook localhost.yml --become-pass-file vaut --vault-pass-file vault

Otherwise, specify passwords at prompts:

ansible-playbook localhost.yml --ask-become-pass --ask-vault-pass

Running the playbook on remote servers

ansible-playbook remote.yml -i "<address>," --become-pass-file vault --vault-pass-file vault

Note: Unless remote hosts are part of long term workflow, don't commit their IP addresses to Git repo.

dotfiles

For more details, refer to each package's README.md:

About

dotfiles for various tools: git, nvim and whatnot. Managed with GNU Stow and Ansible

Topics

Resources

License

Stars

Watchers

Forks