Files
ansible/inventory.yml
Martin Bauer 9c66b7f665 Rename musikserverwohnzimmeroben -> musicdolphin
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>
2026-09-19 16:23:00 +02:00

60 lines
1.9 KiB
YAML

---
all:
hosts:
server:
ansible_host: home.bauer.tech
ansible_port: 22187
server2:
children:
iot:
hosts:
octopi:
sensor_room_name_ascii: prusaprinter
sensor_room_name: prusaprinter
pi_dhtsensor_dht_pin: 26
main_user: root
esszimmerradio: # oben, eltern
squeezelite_name: Esszimmer
pi_shairport_name: _Oben_Esszimmer
# alsa_card_name: Device
pi_squeezelite_squeezeserver: 192.168.178.100
configure_wifi: true
alsa_card_name: 1
main_user: root
newrpi:
squeezelite_name: MyTestRaspberry
pi_shairport_name: MyTestRaspberry
alsa_card_name: 0
sensor_room_name_ascii: testraum
sensor_room_name: Test Raum
heatingpi:
server:
sensor_room_name: Arbeitszimmer
sensor_room_name_ascii: arbeitszimmer
my_bt_monitor_watchdog_seconds: 600
my_btmonitor_restart_ble_interface: hci0
main_user: core
homeassistant:
sensor_room_name: Anschlussraum
sensor_room_name_ascii: anschlussraum
children:
mediapis:
hosts:
musicdolphin:
kitchenpi:
bedroompi:
musicmouse:
vars:
ansible_user: root
ansible_python_interpreter: /usr/bin/python3
ansible_ssh_common_args: "-o ForwardAgent=yes"
pi_squeezelite_squeezeserver: 192.168.178.80
router_ip: 192.168.178.1
home_assistant_url: https://ha.bauer.tech
home_assistant_token:
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJkM2QxYjAwYjkxZjY0MWVhYjA4YmZhMDYwYTg3YjRhNyIsImlhdCI6MTcwNDI3MDU5MSwiZXhwIjoyMDE5NjMwNTkxfQ.dzvejgEQd9hf-Yftzd7NkR5pv76GaLFczeOy-a2pa1o
configure_wifi: false
pi_standard_setup_wifi_ssid: BauerWLAN
my_btmonitor_mqtt_username: my_btmonitor
my_btmonitor_mqtt_password: 8aBIAC14jaKKbla