Commit 1088fbc8 by e0d

using pip to install mysql lib

parent 4d8db75a
#
# Requires MySQL-python be installed for system python
#
- name: Create analtyics reports db - name: Create analtyics reports db
hosts: all hosts: all
connection: local connection: local
gather_facts: False gather_facts: False
tasks: tasks:
# Install required library # Install required library
#- name: install python mysqldb module - name: install python mysqldb module
# apt: pkg={{item}} install_recommends=no state=present update_cache=yes pip: name={{item}} state=present
# sudo: yes sudo: yes
# with_items: with_items:
# - python-mysqldb - MySQL-python
- name: create mysql databases for the analytics report API - name: create mysql databases for the analytics report API
mysql_db: > mysql_db: >
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment