Add server templates and normalize role tags

This commit is contained in:
Fabio Scotto di Santolo
2026-03-25 22:07:44 +01:00
parent 16afdf845a
commit 3dbd45b1b9
8 changed files with 881 additions and 0 deletions

View File

@@ -1,10 +1,12 @@
---
- name: Ensure bat package is installed
tags: [packages]
ansible.builtin.package:
name: bat
state: present
- name: Ensure XDG user directories exist
tags: [dotfiles, dotfiles:common]
ansible.builtin.file:
path: "{{ user_home }}/{{ item }}"
state: directory
@@ -26,6 +28,7 @@
label: "{{ item.dest }}"
- name: Refresh bat cache
tags: [dotfiles, dotfiles:common]
ansible.builtin.command:
cmd: "{{ 'batcat' if ansible_facts.os_family == 'Debian' else 'bat' }} cache --build"
become_user: "{{ username }}"