Skip to content
README.rst 1.51 KiB
Newer Older
nimrod's avatar
nimrod committed

.. image:: https://travis-ci.org/adarnimrod/mysql.svg?branch=master
    :target: https://travis-ci.org/adarnimrod/mysql
Provision a MySQL server. This role will optionally configure SSL, an admin
account, unique server-id, log to syslog, daily backups and a mail alias.
Configuration templates can be placed inside :code:`templates/mysql/conf.d/`
either inside the role or relative to the playbook. Other configuration is out
of scope for this role and are left to user using the configuration templates.
nimrod's avatar
nimrod committed

Requirements
------------

See :code:`meta/main.yml` and assertions at the top of :code:`tasks/main.yml`.
nimrod's avatar
nimrod committed

Role Variables
--------------

See :code:`defaults/main.yml`.
nimrod's avatar
nimrod committed

Dependencies
------------

nimrod's avatar
nimrod committed
See :code:`meta/main.yml`.
nimrod's avatar
nimrod committed

Example Playbook
----------------

nimrod's avatar
nimrod committed
See :code:`tests/playbook.yml`.
nimrod's avatar
nimrod committed
Testing
-------

nimrod's avatar
nimrod committed
Testing requires Python 2.7, Tox, Vagrant and Virtualbox. To test simply run
:code:`tox`. `Pre-commit <http://pre-commit.com/>`_ is also setup for this
project.
nimrod's avatar
nimrod committed

License
-------

nimrod's avatar
nimrod committed
This software is licensed under the MIT license (see the :code:`LICENSE.txt`
file).
nimrod's avatar
nimrod committed

Author Information
------------------

nimrod's avatar
nimrod committed
Nimrod Adar, `contact me <nimrod@shore.co.il>`_ or visit my `website
<https://www.shore.co.il/>`_. Patches are welcome via `git send-email
<http://git-scm.com/book/en/v2/Git-Commands-Email>`_. The repository is located
nimrod's avatar
nimrod committed
at: https://git.shore.co.il/explore/.
nimrod's avatar
nimrod committed
- More thorough, applicative tests.
- A backup script that saves each database in its own file but in a single
  transaction without locking.