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 is able to automate 99% of the process, however it does require the following packages to be present:
- Python3 and pip
- Ansible
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
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
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
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.
For more details, refer to each package's README.md: