dpalomar.glassfish

Ansible Role: Glassfish/Payara Server

This role sets up and configures the Glassfish/Payara server. It creates an admin account with a password for domain1 and makes the asadmin tool accessible via the specified user’s path. It also installs the MySQL connector.

Requirements

You need to have JDK8+ installed on your system before running this role.

Role Variables

  • glassfish_user: The user account to add the asadmin tool to in .bashrc. Please update this as needed.
  • glassfish_version: The version of Payara to install, which defaults to 4.1.1.163.
  • glassfish_install_dir: The installation directory, which defaults to /opt/glassfish.
  • admin_password: The password for the admin account, which defaults to admin.
  • mysql_connectorj_version: The version of the MySQL driver to download, which defaults to 5.1.39.

Dependencies

Make sure JDK8+ is installed before running this role. You can find Java roles on Galaxy, such as mrlesmithjr.oracle-java8.

Example Playbook

Here’s an example of how to use this role with variables specified:

- hosts: all
  vars:
   - glassfish_user: "my-user-account"
  roles:
    - ansible-role-glassfish

License

MIT / BSD

Author Information

This role was created by David Palomar.

Informazioni sul progetto

Glassfish/Payara server install

Installa
ansible-galaxy install dpalomar.glassfish
Licenza
Unknown
Download
114
Proprietario