glassfish

Ansible Role: Glassfish/Payara Server

This role installs and configures the Glassfish/Payara server with admin and password for domain1 and makes available the asadmin tool throught the path for the specified user account. It installs the mysql connector also.

Requirements

You need a JDK8+ installed on the system before run this role.

Role Variables

  • glassfish_user: user on the system to put asadmin tool into .bashrc. Please change this.
  • glassfish_version: version of the product (Payara), 4.1.1.163 by default.
  • glassfish_install_dir: /opt/glassfish by default
  • admin_password: admin by default
  • mysql_connectorj_version: The mysql driver version to download. 5.1.39 by default

Dependencies

JDK8+ needed before run. Check for java galaxy roles like: mrlesmithjr.oracle-java8

Example Playbook

Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:

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

License

MIT / BSD

Author Information

This role was created by David Palomar

Install
ansible-galaxy install dpalomar/ansible-role-glassfish
GitHub repository
License
Unknown
Downloads
101