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.
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. |
No additional role dependencies.
- hosts: servers
roles:
- { role: hswong3i.mysq_connector_java, mysql_connector_java_dest: '/usr/share/jira/lib' }
- Wong Hoi Sing Edison