My bad, I’ve missed one comment in the thread about Apple Silicon and Trellis.
I had mariadb_ppa: “deb [arch=arm64]” in my main.yml, that is why it didn’t work.
Ps. why is it always after you have searched for days you only find the solution after posting to a forum.