Hi,
I am interested in this challenge. A while ago I played around with the ansible script for this, but did not finish it, due to not having the time and the funds.
The route that is really interesting to me and I am playing around with it, these days is installation of Mautic via docker.
After a quick glance at your post, there are two things with your approach that could be improved:
- the first is that you could eliminate the build step and on installation just copy already built assets (this is also done by official mautic docker image)
- the second is that you appear to have some kind of output produce by installation script and esentially this is the reason way installation fails.
Anyway I am happy to help you automate installation of Mautic in scope of my services, so reach out if you are interested.
Have a great day.
Best, M.