antonchernik.mysql-connector-java
Ansible Role for MySQL Connector/J
Ansible Role for Ubuntu MySQL Connector/J Installation.
Requirements
This role require Ansible 2.0 or higher.
This role was designed for Ubuntu Server 14.04 LTS and Ubuntu Server 16.04 LTS.
Role Variables
| 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. |
Dependencies
No additional role dependencies.
Example Playbook
- hosts: all
roles:
- role: hswong3i.mysq_connector_java
mysql_connector_java_dest: "/tmp/ansible-role-mysql-connector-java"
mysql_connector_java_user: "root"
License
Author Information
- Wong Hoi Sing Edison
