Skip to content

Personal dotfiles and os bootstrap for ubuntu-based distros (ansible powered)

License

Notifications You must be signed in to change notification settings

kheraud/dotfiles

Repository files navigation

Personal dotfiles and applications

The dotfiles and applications added here are provisioned with Ansible.

Prerequisites

  • Due to a lack of time, this playbook only applies to Ubuntu >= 24.04 distribution.
  • uv >= 0.4.25

Installation

The default hosts file targets localhost. If you want to target other hosts, edit this file.

Then edit host_vars/*.yml with custom settings (host_vars/localhost.yml is a good start).

uv sync && \
uv run ansible-playbook -K -i hosts site.yml

Content of the playbooks

The global site.yml playbook plays the following roles :

Install a subset

You can use Ansible tags to target some tools or group of tools. You will have to dig in the ./**/tasks/*.yml files to pick the tag namings.

Example, install only shell tools :

uv sync && \
uv run ansible-playbook -K -i hosts --tags "shell" site.yml

TODO

Add tools:

  • age
  • sops
  • rythmbox