Skip to content

Ansible role to set up percona-server server in Debian-like systems

License

Notifications You must be signed in to change notification settings

dincho/ansible-percona-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Ansible Galaxy

percona-server

Set up a percona-server server in Debian-like systems.

There are few roles already, however this one is simple, really simple no extra bullshit.

Requirements

  • python-mysqldb (auto-installed)

Role Variables

  • percona_server_version: [default: 5.7]: Version to install
  • percona_server_root_password: [default: undefined]: Root password (required)
  • percona_server_databases: [default: empty]: List of databases (mysql_db list)
  • percona_server_users: [default: empty]: List of users (mysql_user list)
  • percona_server_config: [default: empty]: Configuration dictionary (mysqld section of my.cnf)

Dependencies

None

Example Playbook

- hosts: servers
  vars:
    percona_server_root_password: mysql_root_pass
    percona_server_databases:
      - { name: database1 }
    percona_server_users:
      - { name: user1, password: sapun, priv: "database1.*:ALL" }
    percona_server_config:
      bind-address: "0.0.0.0"
      performance_schema: "off"
  roles:
     - dincho.percona-server

License

MIT

About

Ansible role to set up percona-server server in Debian-like systems

Resources

License

Stars

Watchers

Forks

Packages

No packages published