cocoy / ansible-role-mysql

Ansible role for MySQL

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ansible Role: MySQL

Build Status Circle CI

Ansible Role that installs an configure MySQL on Debian/Ubuntu.

Requirements

Use hash behavior for variables in ansible.cfg See example: https://github.com/Aplyca/ansible-role-mysql/blob/master/tests/ansible.cfg See official docs: http://docs.ansible.com/intro_configuration.html#hash-behaviour

Installation

Using ansible galaxy:

ansible-galaxy install mauricios.MySQL

You can add this role as a dependency for other roles, add the role to the meta/main.yml file of your own role:

dependencies:
  - { role: mauricios.MySQL }

Role Variables

See default variables: https://github.com/Aplyca/ansible-role-mysql/blob/master/defaults/main.yml

Dependencies

None.

Testing

Use Vagrant to test the role:

cd tests;
vagrant box add ubuntu/trusty64;
vagrant up;

You should see a MySQL server on localhost:3306

License

MIT / BSD

Author Information

Mauricio Sánchez from Aplyca SAS (http://www.aplyca.com)

About

Ansible role for MySQL

License:MIT License


Languages

Language:Ruby 100.0%