/dotfiles

Ansible dotfiles playbook

MIT LicenseMIT

Ansible Dotfiles Playbook

Ansible Playbook to setup my personal dotfiles.

Clone Repo

git clone --recursive git@github.com:johnramsden/dotfiles.git

Setup Instructions

  • If encrypting secrets, place a vault password in secrets/vault_id.pass
  • Copy local/example directory to local/<hostname>
  • Modify local.yml and vault.yml
  • Encrypt vault.yml
  • Replace submodules in templates as needed.

Usage

Run playbook in test mode:

ansible-playbook --check --diff \
                 --vault-id secrets/vault_id.pass playbook.yml

If it looks as expected remove --check.

ansible-playbook --diff \
                 --vault-id secrets/vault_id.pass playbook.yml