Skip to content

Shwetas25/mySQL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published