The Pi's OS hostname was changed first (raspi-config do_hostname + reboot), since no mediapi sets ansible_host and Ansible resolves these by hostname via mDNS/router DNS. Host now answers as musicdolphin.local at 192.168.178.100. The motd file must match the live OS hostname (pi_standard_setup reads it off the device), the host_vars filename and the pi_musicmouse config filename must match the inventory key. sensor_room_name/sensor_room_name_ascii stay WohnzimmerOben - they name the physical room for MQTT topics, not the host, and renaming them would orphan the Home Assistant history. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
pi_standard_setup
Baseline provisioning applied to every Pi: apt update/upgrade, detects the
Pi model, adds a root SSH key, disables the SSH locale-forwarding warning,
optionally configures wifi and the hostname, and rotates the default
pi/raspberry credentials via the keepass lookup plugin.
Key vars: pi_standard_setup_wifi_ssid, pi_standard_setup_new_hostname,
pi_standard_setup_timezone, pi_standard_setup_wifi_country,
ansible_ssh_pass (the OS-default password, used only to reach a
freshly-flashed Pi for the first time before its password is rotated)