Restore from Gitea ZIP snapshot (12.08.2026) after full instance reinstall

Git history was lost when the previous Gitea instance was wiped and
reinstalled due to an unresolved corruption bug — this commit is the
last known-good file content, exported before the reinstall. Prior
commit history is not recoverable through this path.
This commit is contained in:
Claude Sonnet 5
2026-08-12 19:23:55 +00:00
commit 24e658b5ab
13 changed files with 549 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
---
- name: Utility - Change User Password
hosts: masters,workers
gather_facts: false
vars:
# Переменная requested_password придет из Survey в Semaphore
target_user: "ubuntu"
tasks:
- name: Update password for {{ target_user }} using chpasswd
become: true
# Мы передаем пароль через стандартный поток ввода (stdin) прямо в системную утилиту
shell: "echo '{{ target_user }}:{{ requested_password }}' | chpasswd"
# Чтобы пароль не светился в логах Semaphore даже в режиме Debug
no_log: true
- name: Confirm update
debug:
msg: "Password for {{ target_user }} has been updated successfully."