Ansible Playbook to setup my personal dotfiles.
git clone --recursive git@github.com:johnramsden/dotfiles.git
- If encrypting secrets, place a vault password in
secrets/vault_id.pass
- Copy
local/example
directory tolocal/<hostname>
- Modify
local.yml
andvault.yml
- Encrypt
vault.yml
- Replace submodules in
templates
as needed.
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