Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 698 Bytes

README.md

File metadata and controls

38 lines (26 loc) · 698 Bytes

Ansible MySQL

Install and configure MySQL on Centos/Red Hat/Fedora with Ansible

Installation

  • Clone this repository inside your roles directory or add as submodule: git submodule add [email protected]:Vinelab/ansible-mysql roles/mysql

  • In your playbook:

roles:
    - mysql

Synopsis

  • host represents user@[host]
  • bind is for binding IP addresses allowing remote access to MySQL

Usage

vars:

  mysql:
    db: project-database
    user: myuser
    password: passwourld
    privileges: '*.*:ALL'
    host: '%'
    bind:
      - 0.0.0.0

you may also specify app: in a separate YAML file and include it in vars_files