ansible/test/integration/targets/setup_wildfly_server/templates/launch.sh.j2
Andrey Klychkov 2a07123fdd jboss module: add check mode support and integration tests (#58959)
* git war file and wildfly archive from S3
* create setup_wildfly_server role for integration tests
2019-07-15 12:17:08 -04:00

11 lines
237 B
Django/Jinja

#!/usr/bin/env bash
if [ "x$WILDFLY_HOME" = "x" ]; then
WILDFLY_HOME="{{ wf_homedir }}"
fi
if [[ "$1" == "domain" ]]; then
$WILDFLY_HOME/bin/domain.sh -c "$2" -b "$3"
else
$WILDFLY_HOME/bin/standalone.sh -c "$2" -b "$3"
fi