feat: make ansible tags more granular
Signed-off-by: Matej Focko <me@mfocko.xyz>
This commit is contained in:
parent
e47ac5b8f6
commit
16d977227c
6 changed files with 28 additions and 14 deletions
|
@ -13,29 +13,37 @@
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
# Enable Flathub repository and install configured flatpaks
|
# Enable Flathub repository and install configured flatpaks
|
||||||
- system/flatpak
|
- role: system/flatpak
|
||||||
|
tags: flatpak
|
||||||
|
|
||||||
# Install Podman and configure UIDs/GIDs for rootless usage
|
# Install Podman and configure UIDs/GIDs for rootless usage
|
||||||
- role: system/podman
|
- role: system/podman
|
||||||
become: true
|
become: true
|
||||||
|
tags: podman
|
||||||
|
|
||||||
# Install and configure SSH server
|
# Install and configure SSH server
|
||||||
- role: system/sshd
|
- role: system/sshd
|
||||||
become: true
|
become: true
|
||||||
|
tags: sshd
|
||||||
|
|
||||||
# Handle basic user configuration
|
# Handle basic user configuration
|
||||||
- user/base
|
- user/base
|
||||||
|
|
||||||
# Shell utilities
|
# Shell utilities
|
||||||
- user/shell/zsh
|
- role: user/shell/zsh
|
||||||
- user/shell/tmux
|
tags: zsh
|
||||||
- user/editors/neovim
|
- role: user/shell/tmux
|
||||||
|
tags: tmux
|
||||||
|
- role: user/editors/neovim
|
||||||
|
tags: neovim
|
||||||
|
|
||||||
# Configure git
|
# Configure git
|
||||||
- user/git
|
- role: user/git
|
||||||
|
tags: git
|
||||||
|
|
||||||
# Configure ssh
|
# Configure ssh
|
||||||
- user/ssh
|
- role: user/ssh
|
||||||
|
tags: ssh
|
||||||
|
|
||||||
# Configure Alacritty terminal
|
# Configure Alacritty terminal
|
||||||
- role: user/terminals/alacritty
|
- role: user/terminals/alacritty
|
||||||
|
@ -46,14 +54,17 @@
|
||||||
tags: kitty
|
tags: kitty
|
||||||
|
|
||||||
# Install Bitwarden CLI
|
# Install Bitwarden CLI
|
||||||
- user/secrets/bw
|
- role: user/secrets/bw
|
||||||
|
tags: bw
|
||||||
|
|
||||||
# TODO: Install HashiCorp Vault
|
# TODO: Install HashiCorp Vault
|
||||||
# - user/secrets/hcv
|
# - role: user/secrets/hcv
|
||||||
|
# tags: hcv
|
||||||
|
|
||||||
# Install and configure Emacs
|
# Install and configure Emacs
|
||||||
- role: user/editors/emacs
|
- role: user/editors/emacs
|
||||||
tags: emacs
|
tags: emacs
|
||||||
|
|
||||||
# Install and configure VSCode
|
# Install and configure VSCode
|
||||||
- user/editors/vscode
|
- role: user/editors/vscode
|
||||||
|
tags: vscode
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
state: present
|
state: present
|
||||||
flatpakrepo_url: https://dl.flathub.org/repo/flathub.flatpakrepo
|
flatpakrepo_url: https://dl.flathub.org/repo/flathub.flatpakrepo
|
||||||
become: true
|
become: true
|
||||||
tags: system-flatpak-enable-flathub
|
tags: flatpak/enable-flathub
|
||||||
|
|
||||||
- name: Install flatpak apps
|
- name: Install flatpak apps
|
||||||
community.general.packaging.os.flatpak:
|
community.general.packaging.os.flatpak:
|
||||||
|
|
|
@ -4,6 +4,8 @@
|
||||||
|
|
||||||
- name: Scripts
|
- name: Scripts
|
||||||
ansible.builtin.include_tasks: scripts.yml
|
ansible.builtin.include_tasks: scripts.yml
|
||||||
|
tags: user/base/scripts
|
||||||
|
|
||||||
- name: Desktop utilities
|
- name: Desktop utilities
|
||||||
ansible.builtin.include_tasks: desktop-utilities.yml
|
ansible.builtin.include_tasks: desktop-utilities.yml
|
||||||
|
tags: user/base/desktop-utilities
|
||||||
|
|
|
@ -8,4 +8,4 @@
|
||||||
repo: https://github.com/hlissner/doom-emacs
|
repo: https://github.com/hlissner/doom-emacs
|
||||||
dest: ~/.emacs.d
|
dest: ~/.emacs.d
|
||||||
depth: 1
|
depth: 1
|
||||||
tags: user-emacs-doom
|
tags: emacs/doom
|
||||||
|
|
|
@ -5,10 +5,11 @@
|
||||||
|
|
||||||
- name: Plugin oh-my-zsh
|
- name: Plugin oh-my-zsh
|
||||||
ansible.builtin.include_tasks: oh-my-zsh.yml
|
ansible.builtin.include_tasks: oh-my-zsh.yml
|
||||||
tags: zsh-oh-my-zsh
|
tags: zsh/oh-my-zsh
|
||||||
|
|
||||||
- name: Plugin starship
|
- name: Plugin starship
|
||||||
ansible.builtin.include_tasks: starship.yml
|
ansible.builtin.include_tasks: starship.yml
|
||||||
|
tags: zsh/starship
|
||||||
|
|
||||||
- name: Set default shell
|
- name: Set default shell
|
||||||
become: true
|
become: true
|
||||||
|
|
|
@ -4,11 +4,11 @@
|
||||||
src: files/ssh_config
|
src: files/ssh_config
|
||||||
dest: ~/.ssh/config
|
dest: ~/.ssh/config
|
||||||
mode: 0600
|
mode: 0600
|
||||||
tags: user-ssh-config
|
tags: ssh/config
|
||||||
|
|
||||||
- name: Install ‹.ssh/authorized_keys›
|
- name: Install ‹.ssh/authorized_keys›
|
||||||
ansible.builtin.get_url:
|
ansible.builtin.get_url:
|
||||||
url: https://gitlab.com/mfocko.keys
|
url: https://gitlab.com/mfocko.keys
|
||||||
dest: ~/.ssh/authorized_keys
|
dest: ~/.ssh/authorized_keys
|
||||||
mode: 0600
|
mode: 0600
|
||||||
tags: user-ssh-authorized-keys
|
tags: ssh/authorized-keys
|
||||||
|
|
Loading…
Reference in a new issue