https://github.com/leucos/ansible-pxc
Percona XtraDB Cluster role
https://github.com/leucos/ansible-pxc
ansible-role mysql percona-xtradb-cluster pxe
Last synced: about 1 month ago
JSON representation
Percona XtraDB Cluster role
- Host: GitHub
- URL: https://github.com/leucos/ansible-pxc
- Owner: leucos
- Created: 2015-06-15T07:01:44.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2023-05-16T15:30:08.000Z (almost 2 years ago)
- Last Synced: 2025-03-18T11:51:59.272Z (about 1 month ago)
- Topics: ansible-role, mysql, percona-xtradb-cluster, pxe
- Language: Jinja
- Size: 33.2 KB
- Stars: 27
- Watchers: 3
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Percona server deployment
=========================Percona playbook deployement
This role will let you install a Percona server.
Requirements
------------MySQLdb python package (required by `mysql_*` Ansible modules)
Role Variables
--------------Very few variables are in this role for now. It will grow as needed.
- `mysql_backup`: whether a regulard `mysqldump` should be made (default: unset)
`mysql_backup`:
`crontime`: [cronentry] cron entry that triggers the backup
`keep`: [number] how many backups do we keep
`destination`: [destination] directory in the filesystem to put backups in
`s3bucket`: [bucketaddess] when defined, this will trigger a copy of backuped files to an S3 bucket- `mysql_users`: list of users and privileges to add besides root (see `mysql_user` for reference; default: [])
`mysql_users`:
- { user: ,
password: "",
priv="", # (e.g. "*.*:ALL")
host="" # (host from which user connects)
}- `mysql_bind_address`: bind address (default: "127.0.0.1")
- `mysql_key_buffer`: buffer size for keys (default: "16M")
- `mysql_php5`: should we install mysql php5 extensions (default: false)
- `mysql_root_password`: root password (default: "changeme")- `percona_version`: major.minor version to install (defaumt: "5.6")
Usage
-----The role is supposed to be used this way from a playbook:
- { role: leucos.mysql }
Dependencies
------------This role depends on:
- [leucos.s3cmd](https://github.com/leucos/ansible-s3cmd) when S3 backup is enabledLicense
-------MIT
Author Information
------------------[@leucos](https://github.com/leucos)