feat: make ansible tags more granular

Signed-off-by: Matej Focko <me@mfocko.xyz>
This commit is contained in:
Matej Focko 2023-08-30 15:10:39 +02:00
parent e47ac5b8f6
commit 16d977227c
Signed by: mfocko
GPG key ID: 7C47D46246790496
6 changed files with 28 additions and 14 deletions

View file

@ -13,29 +13,37 @@
become: true
# Enable Flathub repository and install configured flatpaks
- system/flatpak
- 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
- user/shell/zsh
- user/shell/tmux
- user/editors/neovim
- role: user/shell/zsh
tags: zsh
- role: user/shell/tmux
tags: tmux
- role: user/editors/neovim
tags: neovim
# Configure git
- user/git
- role: user/git
tags: git
# Configure ssh
- user/ssh
- role: user/ssh
tags: ssh
# Configure Alacritty terminal
- role: user/terminals/alacritty
@ -46,14 +54,17 @@
tags: kitty
# Install Bitwarden CLI
- user/secrets/bw
- role: user/secrets/bw
tags: bw
# TODO: Install HashiCorp Vault
# - user/secrets/hcv
# - role: user/secrets/hcv
# tags: hcv
# Install and configure Emacs
- role: user/editors/emacs
tags: emacs
# Install and configure VSCode
- user/editors/vscode
- role: user/editors/vscode
tags: vscode

View file

@ -5,7 +5,7 @@
state: present
flatpakrepo_url: https://dl.flathub.org/repo/flathub.flatpakrepo
become: true
tags: system-flatpak-enable-flathub
tags: flatpak/enable-flathub
- name: Install flatpak apps
community.general.packaging.os.flatpak:

View file

@ -4,6 +4,8 @@
- name: Scripts
ansible.builtin.include_tasks: scripts.yml
tags: user/base/scripts
- name: Desktop utilities
ansible.builtin.include_tasks: desktop-utilities.yml
tags: user/base/desktop-utilities

View file

@ -8,4 +8,4 @@
repo: https://github.com/hlissner/doom-emacs
dest: ~/.emacs.d
depth: 1
tags: user-emacs-doom
tags: emacs/doom

View file

@ -5,10 +5,11 @@
- name: Plugin oh-my-zsh
ansible.builtin.include_tasks: oh-my-zsh.yml
tags: zsh-oh-my-zsh
tags: zsh/oh-my-zsh
- name: Plugin starship
ansible.builtin.include_tasks: starship.yml
tags: zsh/starship
- name: Set default shell
become: true

View file

@ -4,11 +4,11 @@
src: files/ssh_config
dest: ~/.ssh/config
mode: 0600
tags: user-ssh-config
tags: ssh/config
- name: Install .ssh/authorized_keys
ansible.builtin.get_url:
url: https://gitlab.com/mfocko.keys
dest: ~/.ssh/authorized_keys
mode: 0600
tags: user-ssh-authorized-keys
tags: ssh/authorized-keys