Skip to content

thomascrowley/dotfiles

Repository files navigation

My Personal Dotfiles

Prereqs

  • Ansible is installed

Clone

git clone https://github.com/ThomasCrowley/dotfiles ~/.dotfiles

Running

Install Ansible Dependency

ansible-galaxy install -r requirements.yml

Set up Ansible Vault

We are using ansible vault to protect the secrets. First we need to add the sudo password into the vault.

First create your encrypted file

ansible-vault create secrets.yml

Write your sudo password into the file.

---
ansible_become_password: mysecretsudopasssworkd4

I am usign ansible-playbook to set up my dotfiles. To plan the changes run:

ansible-playbook playbook.yml --ask-vault-pass --check

Then to apply them run

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