59 lines
1.3 KiB
YAML
59 lines
1.3 KiB
YAML
---
|
|
- name: Bootstrap fresh installation
|
|
hosts: all
|
|
gather_facts: true
|
|
roles:
|
|
# Handle distribution-specific changes before the generic ones
|
|
- role: system/fedora
|
|
become: true
|
|
when: ansible_distribution == "Fedora"
|
|
|
|
# Upgrade all packages and install the basic-bitch ones
|
|
- role: system/base
|
|
become: true
|
|
|
|
# Enable Flathub repository and install configured flatpaks
|
|
- system/flatpak
|
|
|
|
# Install Podman and configure UIDs/GIDs for rootless usage
|
|
- role: system/podman
|
|
become: true
|
|
|
|
# Install and configure SSH server
|
|
- role: system/sshd
|
|
become: true
|
|
|
|
# Handle basic user configuration
|
|
- user/base
|
|
|
|
# Shell utilities
|
|
- user/shell/zsh
|
|
- user/shell/tmux
|
|
- user/editors/neovim
|
|
|
|
# Configure git
|
|
- user/git
|
|
|
|
# Configure ssh
|
|
- user/ssh
|
|
|
|
# Configure Alacritty terminal
|
|
- role: user/terminals/alacritty
|
|
tags: alacritty
|
|
|
|
# Configure Kitty terminal
|
|
- role: user/terminals/kitty
|
|
tags: kitty
|
|
|
|
# Install Bitwarden CLI
|
|
- user/secrets/bw
|
|
|
|
# TODO: Install HashiCorp Vault
|
|
# - user/secrets/hcv
|
|
|
|
# Install and configure Emacs
|
|
- role: user/editors/emacs
|
|
tags: emacs
|
|
|
|
# Install and configure VSCode
|
|
- user/editors/vscode
|