prole/infrastructure/inventory/group_vars/workstations_windows/vars.yml
chrisfu 11ba0c6f57 feat(winrm): wire Ansible WinRM for morgoth+fairyland Windows GPU hosts
- ansible.sh: export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES (fixes macOS
  fork safety abort when pywinrm loads ObjC frameworks before fork())
- hosts.ini: add winrm scheme=http port=5985, transport=ntlm for Windows hosts;
  remove hardcoded ansible_user (now per-host)
- group_vars/workstations_windows/vars.yml: created; WinRM connection vars
  (ansible_user/password resolved per-host)
- host_vars/morgoth.prole.org.yml: ansible_user=chrisfu + vault ref
- host_vars/fairyland.prole.org.yml: ansible_user=minecraft + vault ref
- windows_ollama_models.yml: fix PowerShell ollama show check — wrap in
  try/catch so ErrorActionPreference=Stop does not abort on model-not-found

Result: mxbai-embed-large-2k (num_ctx=2048) created on both hosts.
Idempotent — re-running only recreates if Modelfile hash changes.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-02 02:16:05 -07:00

7 lines
371 B
YAML

# WinRM connection vars for Windows GPU workstations (morgoth, fairyland).
# ansible_user and ansible_password are set per-host in host_vars/ because
# the two machines use different local accounts.
# Passwords are vaulted in group_vars/all/prole_vault.yml as:
# vault_winrm_password_morgoth (chrisfu@morgoth)
# vault_winrm_password_fairyland (minecraft@fairyland)