Files
Claude Sonnet 5 7320b8da8d 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.
2026-08-12 19:23:57 +00:00

10 lines
314 B
YAML

---
- name: Настройка sudo для пользователя без пароля
ansible.builtin.lineinfile:
path: /etc/sudoers
state: present
regexp: '^{{ ansible_user }} ALL='
line: '{{ ansible_user }} ALL=(ALL) NOPASSWD:ALL'
validate: 'visudo -cf %s'
when: ansible_user != 'root'