Files
semaphore/playbooks/inform_win.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

21 lines
550 B
YAML

---
- name: Configure Windows PC
hosts: windows
gather_facts: yes
tasks:
- name: Проверка связи (Ping)
ansible.windows.win_ping:
- name: Узнать имя компьютера
ansible.windows.win_shell: hostname
register: host_out
- name: Показать имя
debug:
var: host_out.stdout_lines
# Пример: Создать папку на диске C
- name: Create directory
ansible.windows.win_file:
path: C:\Temp\FromSemaphore
state: directory