This server has been requested to have the "SingleServerFarm" LocalServerRole

Topics: Support
Jan 27 at 6:47 PM
Edited Jan 27 at 6:47 PM
I am using the current version of AutoSPInstaller to build a two-server SharePoint 2016 farm. I have used AutoSPInstaller Online to build my input file. The installation fails when trying to join the second server to the farm as it thinks it should be a single server farm. This is the message in the log:
This server (SP02) has been requested to have the "SingleServerFarm" LocalServerRole.
It then fails to join the farm and tries to create a new one, but fails as the database is not empty and exits.

I noticed that when building the input file the MinRoles page shows this error regardless of any combination of options:
Each server must be assigned only one role!
Is this a bug or am I doing something wrong?