From 346b122053108e8d13d3d9c7b096077a3ea1bb7a Mon Sep 17 00:00:00 2001 From: Roman Paska Date: Mon, 2 Mar 2020 23:30:58 +0200 Subject: [PATCH] #161 Update Ansible MySQL role geerlingguy.mysql to 3.0.0 --- CHANGELOG.md | 1 + README.md | 2 +- default.vm-settings.yml | 3 +++ molecule/default/converge.yml | 2 +- provisioning/requirements.yml | 2 +- 5 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d26ac5c..4e41862 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ ## Draft Environment 3.x.x (unreleased) Updates: +- [GH-161](https://github.com/lemberg/draft-environment/issues/161) - Updated Ansible MySQL role to 3.0.0 - [GH-159](https://github.com/lemberg/draft-environment/issues/159) - Upgraded Molecule framework (2 => 3) - [GH-157](https://github.com/lemberg/draft-environment/issues/157) - Switched to unofficial PPA for Vagrant on Travis; Vagrant 2.2.7 supports VirtualBox 6.1.x diff --git a/README.md b/README.md index 66cc961..29df3ad 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ Dramatically increases disk IO on Windows by adding NFS support. - [geerlingguy.mailhog @ 2.2.0](https://github.com/geerlingguy/ansible-role-mailhog/tree/2.2.0) - git_config (internal) - apache2 (internal) - - [geerlingguy.mysql @ 2.9.5](https://github.com/geerlingguy/ansible-role-mysql/tree/2.9.5) + - [geerlingguy.mysql @ 3.0.0](https://github.com/geerlingguy/ansible-role-mysql/tree/3.0.0) - [T2L.php @ 1.2.1](https://github.com/T2L/ansible-role-php/tree/1.2.1) - [T2L.composer @ 2.0.2](https://github.com/T2L/ansible-role-composer/tree/2.0.2) - [T2L.java @ 1.2.0](https://github.com/T2L/ansible-role-java/tree/1.2.0) diff --git a/default.vm-settings.yml b/default.vm-settings.yml index 74d9e2a..8b97d9d 100644 --- a/default.vm-settings.yml +++ b/default.vm-settings.yml @@ -161,6 +161,9 @@ mysql_packages: - mysql-common - mysql-server +# If you need to explicitly set the MySQL Python package, you can set it here. If not set, it will default to `python-mysqldb` for Python 2 and `python3-mysqldb` for Python 3. +mysql_python_package_debian: '' + # MySQL connection settings. mysql_port: "3306" mysql_bind_address: '0.0.0.0' diff --git a/molecule/default/converge.yml b/molecule/default/converge.yml index 6191744..3dd7fd8 100644 --- a/molecule/default/converge.yml +++ b/molecule/default/converge.yml @@ -39,7 +39,7 @@ - ../../provisioning/roles/draft - ../../provisioning/roles/git_config - ../../provisioning/roles/apache2 - - geerlingguy.mysql + - { role: geerlingguy.mysql, mysql_python_package_debian: python3-mysqldb } - geerlingguy.mailhog - T2L.php - T2L.composer diff --git a/provisioning/requirements.yml b/provisioning/requirements.yml index c5ad067..5f0a64b 100644 --- a/provisioning/requirements.yml +++ b/provisioning/requirements.yml @@ -4,7 +4,7 @@ - src: geerlingguy.mailhog version: 2.2.0 - src: geerlingguy.mysql - version: 2.9.5 + version: 3.0.0 - src: T2L.php version: 1.2.1 - src: T2L.composer