ansible-role-chezmoi
A modern Ansible role for installing and initializing the chezmoi dotfiles manager.
AnsibleYAMLRocky LinuxDebianUbuntu
This is my Ansible role for installing and bootstrapping chezmoi. I’ve recently modernized it to support the latest generation of Linux distributions, including Rocky Linux 9/10 and Debian 12/13.
What It Does
- Installation: It handles the binary installation directly from GitHub releases or via snap, ensuring you always have the latest version.
- Initialization: It can optionally initialize chezmoi with a source repository, making it perfect for bootstrapping fresh environments.
- Cross-Platform: I’ve focused on maintaining compatibility across the RHEL and Debian families, which I use extensively in my virtual machine setups.
I am inherently lazy about manual machine setup, so this role is a key part of my “last mile” infrastructure automation. Whether I’m spinning up a temporary test environment or a long-lived server, this role ensures my dotfiles are just one command away.