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>
This commit is contained in:
@@ -10,7 +10,7 @@ Pis (audio players, sensors, music mouse, etc.) plus one home server.
|
|||||||
parallel audio-player Pis) and their host-specific overrides.
|
parallel audio-player Pis) and their host-specific overrides.
|
||||||
- `mediapis.yml`, `working.yml`, `server.yml`, `newrpi-provisioning.yml`,
|
- `mediapis.yml`, `working.yml`, `server.yml`, `newrpi-provisioning.yml`,
|
||||||
`octopisetup.yml` — top-level playbooks. `mediapis.yml` is the canonical
|
`octopisetup.yml` — top-level playbooks. `mediapis.yml` is the canonical
|
||||||
playbook for the `mediapis` group (`musikserverwohnzimmeroben`, `kitchenpi`,
|
playbook for the `mediapis` group (`musicdolphin`, `kitchenpi`,
|
||||||
`bedroompi`, `musicmouse`); the others are narrower/ad-hoc runs kept around
|
`bedroompi`, `musicmouse`); the others are narrower/ad-hoc runs kept around
|
||||||
for specific hosts or one-off tasks.
|
for specific hosts or one-off tasks.
|
||||||
- `roles/` — one role per piece of functionality (audio backends, sensors,
|
- `roles/` — one role per piece of functionality (audio backends, sensors,
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ all:
|
|||||||
children:
|
children:
|
||||||
mediapis:
|
mediapis:
|
||||||
hosts:
|
hosts:
|
||||||
musikserverwohnzimmeroben:
|
musicdolphin:
|
||||||
kitchenpi:
|
kitchenpi:
|
||||||
bedroompi:
|
bedroompi:
|
||||||
musicmouse:
|
musicmouse:
|
||||||
|
|||||||
8
roles/pi_standard_setup/files/motd/musicdolphin
Normal file
8
roles/pi_standard_setup/files/motd/musicdolphin
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
Music Dolphin
|
||||||
|
,-._
|
||||||
|
_.-' '--.
|
||||||
|
.' _ -`\_
|
||||||
|
/ .----.`_.'----'
|
||||||
|
;/ `
|
||||||
|
/_;
|
||||||
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
|
|
||||||
Musik Server Wohnzimmer oben
|
|
||||||
|
|
||||||
|~~~~~~~~~~~~~~~|
|
|
||||||
|~~~~~~~~~~~~~~~|
|
|
||||||
| |
|
|
||||||
/~~\| /~~\|
|
|
||||||
\__/ \__/
|
|
||||||
|
|
||||||
|
|
||||||
@@ -24,7 +24,7 @@ Server:
|
|||||||
|
|
||||||
|
|
||||||
esszimmerradio
|
esszimmerradio
|
||||||
musikserverwohnzimmeroben
|
musicdolphin
|
||||||
|
|
||||||
no
|
no
|
||||||
|
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
roles:
|
roles:
|
||||||
- bluetooth_monitor
|
- bluetooth_monitor
|
||||||
|
|
||||||
- name: Musikserver Wohnzimmer oben
|
- name: MusicDolphin oben
|
||||||
hosts: musikserverwohnzimmeroben
|
hosts: musicdolphin
|
||||||
roles:
|
roles:
|
||||||
- bluetooth_monitor
|
- bluetooth_monitor
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user