04-09-2025, 02:10 PM
(04-09-2025, 11:49 AM)Tim Curtis Wrote: What's the usage scenario where automated installs are needed?
I am going to build one moodeudio pi for many rooms, probably about 6 or 7. I'd like to not have to visit the web page of each device to set them up. I want to use ansible to do it. And if I want to change anything later, say enable UPNP on each pi, I can do so from Ansbile and not have to visit each in turn.
Bearing in mind what moodeutl does to the home dirs, I have worked around it, and as long as I connect as the "pi" user (or whatever I choose) when running the playbook, then it works. What I was doing was creating an "ansible" user to run the playbooks, as I do for my other linux hosts, but if I did that, the moodeutl removed the ansible user's home dir (if it was in /home - I suppose another workaround is to put the ansible user's home outside /home).
But it seems very odd behaviour. Is it supposed to do what I describe?