dotfiles/playbooks/bootstrap.yml
Matej Focko 3f09655707
feat(editors/helix): add support for Helix
Signed-off-by: Matej Focko <mfocko@redhat.com>
2023-09-09 15:19:45 +02:00

82 lines
1.7 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"
- role: system/el
become: true
when: ansible_distribution in [ "AlmaLinux", "CentOS" ]
# Upgrade all packages and install the basic-bitch ones
- role: system/base
become: true
# Enable Flathub repository and install configured flatpaks
- role: system/flatpak
tags: flatpak
# Install Podman and configure UIDs/GIDs for rootless usage
- role: system/podman
become: true
tags: podman
# Install and configure SSH server
- role: system/sshd
become: true
tags: sshd
# Handle basic user configuration
- user/base
# Shell utilities
- role: user/shell/zsh
tags: zsh
- role: user/shell/tmux
tags: tmux
- role: user/editors/neovim
tags: neovim
# Configure git
- role: user/git
tags: git
# Configure ssh
- role: user/ssh
tags: ssh
# Configure Alacritty terminal
- role: user/terminals/alacritty
tags: alacritty
# Configure Kitty terminal
- role: user/terminals/kitty
tags: kitty
# Install fonts
- role: user/fonts
tags: fonts
# Install Bitwarden CLI
- role: user/secrets/bw
tags: bw
# Install HashiCorp Vault
- role: user/secrets/hcv
tags: hcv
# Install and configure Emacs
- role: user/editors/emacs
tags: emacs
# Install and configure VSCode
- role: user/editors/vscode
tags: vscode
# Install and configure Helix
- role: user/editors/helix
tags: helix