Merge "Switch to PyMYSQL"

This commit is contained in:
Jenkins 2015-11-13 17:40:53 +00:00 committed by Gerrit Code Review
commit 452025f49f
2 changed files with 2 additions and 1 deletions

View File

@ -95,7 +95,7 @@
dest=/etc/ironic/ironic.conf
insertafter="[database]"
regexp='^(.*)connection=(.*)$'
line="connection=mysql://ironic:{{ ironic_db_password }}@localhost/ironic?charset=utf8"
line="connection=mysql+pymysql://ironic:{{ ironic_db_password }}@localhost/ironic?charset=utf8"
- name: "Configure DHCP provider"
lineinfile:
dest=/etc/ironic/ironic.conf

View File

@ -9,3 +9,4 @@ Babel>=1.3
oslo.config>=2.3.0 # Apache-2.0
oslo.log>=1.8.0 # Apache-2.0
six>=1.9.0
PyMySQL>=0.6.2 # MIT License