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.
10 lines
314 B
YAML
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'
|