Git Product home page Git Product logo

ansible-mariadb's Introduction

ansible-mariadb

This role installs and configures MariaDB - An enhanced, drop-in replacement for MySQL.

Supported Platforms

  • RHEL 6
  • FreeBSD 10

It will likely run on other platforms, just drop in vars/ a new file to support your os variant, vars are parsed in the following order/format:

  • {{ ansible_distribution }}_{{ ansible_distribution_major_version }}.yml
  • {{ ansible_distribution }}.yml
  • {{ ansible_os_family }}_{{ ansible_distribution_major_version }}.yml
  • {{ ansible_os_family }}.yml"

Requirements

Role Variables

By default this role will install MariaDB and provide a minimal (global) configuration, however variables can be passed to this role and configuration can be overridden, for additional informations please have a look to defaults/main.yml

Dependencies

None at this time.

Examples

  1. Just install MariaDB, use the defaults
- hosts: all
  remote_user: root
  sudo: no
  roles:
    - { role: mariadb }
  1. Install MariaDB, customize bind address, listen port, root password and a few memory settings
- hosts: all
  remote_user: root
  sudo: no
  vars:
    - mariadb_bind_address: 192.168.1.1
    - mariadb_port: 3309
    - mariadb_root_password: Sup3rs3cret
    - mariadb_key_buffer_size: 16K
    - mariadb_max_allowed_packet: 1M
    - mariadb_table_open_cache: 4
    - mariadb_sort_buffer_size: 64K
    - mariadb_read_buffer_size: 256K
  roles:
    - { role: mariadb }
  1. Install MariaDB, using a custom, user provided, template
- hosts: all
  remote_user: root
  sudo: no
  vars:
    mariadb_conf_server: templates/mariadb_production_template.j2
  roles:
    - { role: mariadb }

License

GPLv2

Author Information

Alessio Cassibba (x-drum) http://blog.zerodev.it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.