Change MySQL Server Host via CLI


Virtualmin is a great system. Currently I am trying to automate some things with Ansible. Since we have multiple database remote hosts I would like to change the database remote host via API/CLI. Is there a way to do this?

Best regards,
Patrick Niebeling