Files
semaphore/test-playbooks/add_admins.yml
T
Claude Sonnet 5 8ff6d59ba6 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:24:02 +00:00

18 lines
384 B
YAML

---
- hosts: all
become: yes
gather_facts: no
serial: 100
vars:
wheel: wheel
tasks:
- include_vars: users.yml
- name: add administrators on all servers
user: name={{item.user}} password={{item.password}} groups={{item.groups}}
with_items: '{{admins}}'
register: task
- include: tasks/collect_changed_hosts.yml
- include: tasks/disable_ssh_root.yml