well,
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 0s

This commit is contained in:
hogweed1
2026-11-06 00:52:23 +10:00
parent 7329a84c27
commit fd9bed7327
2 changed files with 1 additions and 1 deletions

View File

@@ -0,0 +1,36 @@
---
- name: "Этап 2: Деплой VIM plugins"
hosts: all
become: yes
vars:
# Укажи здесь root и своего основного пользователя
vim_users:
- "root"
- "hogweed1"
# Вставь сюда сгенерированный токен из Gitea
gitea_token: "0e2d23940d1862ae1558476f39565cd5bb2bcd88"
# Базовый адрес твоей организации/юзера в Gitea (БЕЗ http://)
gitea_base: "git.guaranteedstruggle.host/hackerspace"
# Формируем ссылки с токеном. В таком формате Git пролетает авторизацию без вопросов
repo_rustvim: "https://{{ gitea_token }}@{{ gitea_base }}/rust.vim_mirror.git"
repo_tomlvim: "https://{{ gitea_token }}@{{ gitea_base }}/vim-toml_mirror.git"
repo_challengerdeep: "https://{{ gitea_token }}@{{ gitea_base }}/vim_theme-challenger-deep_mirror.git"
tasks:
- name: Установка пакета vim
apt:
name:
- vim
state: present
update_cache: yes
tags: [always]
- name: Накат ZSH и плагинов для каждого пользователя
include_tasks: user-tasks.yml
loop: "{{ vim_users }}"
loop_control:
loop_var: current_user
tags: [always]