2
0
mirror of https://github.com/frappe/bench.git synced 2024-09-24 04:59:01 +00:00

Merge pull request #798 from saurabh6790/mariadb_version

enhancement: provision to pass mariadb version
This commit is contained in:
Saurabh 2019-05-07 08:55:32 +05:30 committed by GitHub
commit d39effc2f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 4 deletions

View File

@ -14,9 +14,16 @@ def install_prerequisites():
@click.command('mariadb')
@click.option('--mysql_root_password')
def install_maridb(mysql_root_password=''):
@click.option('--version', default="10.2")
def install_maridb(mysql_root_password='', version=''):
if mysql_root_password:
extra_vars.update({"mysql_root_password": mysql_root_password})
extra_vars.update({
"mysql_root_password": mysql_root_password,
})
extra_vars.update({
"mariadb_version": version
})
run_playbook('site.yml', extra_vars=extra_vars, tag='mariadb')

View File

@ -1,6 +1,4 @@
---
mariadb_version: 10.2
mysql_conf_tpl: change_me
mysql_conf_file: settings.cnf