@maxolasersquad
One very basic test we can do to verify if the "ambari-server setup" was performed or not is to look for JDBC settings.
For example when we simply install ambari server binary on a host then the ambari.properties file will not have any JDBC configs so the output for the following will be empty.
Example: (no output on a server where ambari-server setup was not executed)
# grep 'jdbc' /etc/ambari-server/conf/ambari.properties
However, on a server where setup was executed you will see atleast some jdbc settings as following:
# grep 'jdbc' /etc/ambari-server/conf/ambari.properties
custom.mysql.jdbc.name=mysql-connector-java.jar
custom.oracle.jdbc.name=ojdbc8.jar
previous.custom.mysql.jdbc.name=mysql-jdbc-driver.jar
server.jdbc.connection-pool=internal
server.jdbc.database=postgres
server.jdbc.database_name=ambari
server.jdbc.postgres.schema=ambari
server.jdbc.user.name=ambari
server.jdbc.user.passwd=${alias=ambari.db.password}
.