This commit is contained in:
hogweed1
2026-11-05 01:30:05 +10:00
parent 2f247626c7
commit dd887734dd
5 changed files with 1810 additions and 52 deletions

View File

@@ -0,0 +1,24 @@
---
- name: "Этап 2: Деплой ZSH + OMZ + P10k"
hosts: homelab
become: yes
vars:
# Укажи здесь root и своего основного пользователя
zsh_users:
- "root"
- "hogweed1"
tasks:
- name: Установка системных пакетов (zsh и git)
apt:
name:
- zsh
- git
state: present
update_cache: yes
- name: Накат ZSH и плагинов для каждого пользователя
include_tasks: user_tasks.yml
loop: "{{ zsh_users }}"
loop_control:
loop_var: current_user