Custom resource wildfly_cli nicely executes JBossCLI/WildFly commands thru an HTTP connection to JBoss/WildFly server. But, in case we need to change any configuration before starting the server, we need to resort to the embedded server.
My proposal is to either write a new provider "embedded" to the existing type wildfly_cli. I managed something in a module used internally at work, but I think this would better suit this public module.