Commit 378aca46 by Joe Blaylock

Merge pull request #206 from edx/jbau/xqueue-mysql-python

remote servers need python-mysql to run ansible mysql module
parents 5c688892 afc00267
......@@ -8,15 +8,6 @@
tags:
- xqueue
- name: xqueue | create xqueue db
mysql_db: >
name={{xqueue_auth_config.DATABASES.default.NAME}}
login_host={{xqueue_auth_config.DATABASES.default.HOST}}
login_user={{xqueue_auth_config.DATABASES.default.USER}}
login_password={{xqueue_auth_config.DATABASES.default.PASSWORD}}
state=present
encoding=utf8
# Check out xqueue repo to {{xqueue_code_dir}}
- name: xqueue | install git and its recommends
apt: pkg=git state=present install_recommends=yes
......@@ -31,6 +22,15 @@
tags:
- xqueue
- name: xqueue | create xqueue db
mysql_db: >
name={{xqueue_auth_config.DATABASES.default.NAME}}
login_host={{xqueue_auth_config.DATABASES.default.HOST}}
login_user={{xqueue_auth_config.DATABASES.default.USER}}
login_password={{xqueue_auth_config.DATABASES.default.PASSWORD}}
state=present
encoding=utf8
- name: xqueue | create xqueue application config
template: src=xqueue.env.json.j2 dest={{app_base_dir}}/env.json mode=0640 owner=www-data group=adm
notify:
......
......@@ -105,6 +105,7 @@ xqueue_debian_pkgs:
- python-numpy
- python-pip
- python-scipy
- python-mysqldb
- rake
- reprepro
- rsyslog
......
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