mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
7b73a83b91
* Add more default license and copyright notices.
* Fix tests.
* Fix typos.
* Fix task type.
* Add URL to changelog fragment.
* Improve headers for setup_wildfly_server.
(cherry picked from commit 9327b12c4d
)
Co-authored-by: Felix Fontein <felix@fontein.de>
14 lines
428 B
Django/Jinja
14 lines
428 B
Django/Jinja
#!/usr/bin/env bash
|
|
# Copyright (c) Ansible Project
|
|
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
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
|