Commit df079a0c by Jillian Vogel

Merge pull request #3052 from open-craft/jill/edx-sandbox-remote

edx_sandbox.yml: Run edxlocal role only if edxapp db is on localhost
parents ed7dc2c9 f51495fd
......@@ -34,9 +34,10 @@
nginx_sites:
- ecommerce
when: SANDBOX_ENABLE_ECOMMERCE
- role: mysql
- role: edxlocal
when: EDXAPP_MYSQL_HOST == 'localhost'
- edxlocal
- role: memcache
when: "'localhost' in ' '.join(EDXAPP_MEMCACHE)"
- role: mongo
when: "'localhost' in EDXAPP_MONGO_HOSTS"
- { role: 'rabbitmq', rabbitmq_ip: '127.0.0.1' }
......
......@@ -74,7 +74,3 @@
name={{ COMMON_MYSQL_ADMIN_USER }}
password={{ COMMON_MYSQL_ADMIN_PASS }}
priv='*.*:CREATE USER'
- name: install memcached
apt: pkg=memcached state=present
# Installs memcached
- name: install memcached
apt: pkg=memcached state=present update_cache=yes
tags:
- install
- install:memcache
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