Ansible Role for Ubuntu MySQL Connector/J Installation.
This role require Ansible 2.0 or higher.
This role was designed for Ubuntu Server 14.04 LTS and Ubuntu Server 16.04 LTS.
parameter | required | default | choices | comments |
---|---|---|---|---|
mysql_connector_java_archive | yes | defaults/main.yml | Download archive filename for cache during (re)install. | |
mysql_connector_java_dest | yes | /tmp | Destination directory where MySQL Connector/J .jar should install to. | |
mysql_connector_java_jar | yes | defaults/main.yml | MySQL Connector/J .jar filename for double check if installed to target directory correctly. | |
mysql_connector_java_sha256 | yes | defaults/main.yml | Download archive sha256 checksum for cache during (re)install. | |
mysql_connector_java_url | yes | defaults/main.yml | URL for download archive. | |
mysql_connector_java_user | yes | jira | Username for destination directory and extracted .jar. |
No additional role dependencies.
- hosts: all
roles:
- role: hswong3i.mysq_connector_java
mysql_connector_java_dest: "/tmp/ansible-role-mysql-connector-java"
mysql_connector_java_user: "root"
- Wong Hoi Sing Edison