# Workstation-specific Ansible connection overrides. # # Servers (k3s nodes, VMs) have pipelining=True in ansible.cfg for performance. # Personal Macs/Linux workstations need pipelining disabled: pipelining replaces # stdin with a pipe, which prevents sudo from prompting for a password # (sudo -S reads the password from stdin; if that's a pipe, sudo sees EOF and # falls back to "sudo: a password is required"). # # Note: ansible_become_ask_pass in inventory does NOT reliably trigger an # interactive terminal prompt for local connections. Use the wrapper script # instead: # ./infrastructure/bin/install_workstation.sh # which adds --ask-become-pass (-K) automatically. ansible_pipelining: false