Commit e4896572 by George Song

Standardize on yaml dict syntax

parent bb7fe579
...@@ -26,7 +26,8 @@ ...@@ -26,7 +26,8 @@
SANDBOX_ENABLE_ECOMMERCE: False SANDBOX_ENABLE_ECOMMERCE: False
COMMON_ENABLE_SPLUNKFORWARDER: False COMMON_ENABLE_SPLUNKFORWARDER: False
roles: roles:
- { role: swapfile, SWAPFILE_SIZE: "2GB" } - role: swapfile
SWAPFILE_SIZE: 2GB
- role: nginx - role: nginx
nginx_sites: nginx_sites:
- certs - certs
...@@ -46,8 +47,10 @@ ...@@ -46,8 +47,10 @@
when: "'localhost' in ' '.join(EDXAPP_MEMCACHE)" when: "'localhost' in ' '.join(EDXAPP_MEMCACHE)"
- role: mongo - role: mongo
when: "'localhost' in EDXAPP_MONGO_HOSTS" when: "'localhost' in EDXAPP_MONGO_HOSTS"
- { role: 'rabbitmq', rabbitmq_ip: '127.0.0.1' } - role: rabbitmq
- { role: 'edxapp', celery_worker: True } rabbitmq_ip: 127.0.0.1
- role: edxapp
celery_worker: True
- edxapp - edxapp
- role: ecommerce - role: ecommerce
when: SANDBOX_ENABLE_ECOMMERCE when: SANDBOX_ENABLE_ECOMMERCE
...@@ -63,8 +66,10 @@ ...@@ -63,8 +66,10 @@
- role: elasticsearch - role: elasticsearch
when: "'localhost' in EDXAPP_ELASTIC_SEARCH_CONFIG|map(attribute='host')" when: "'localhost' in EDXAPP_ELASTIC_SEARCH_CONFIG|map(attribute='host')"
- forum - forum
- { role: notifier, NOTIFIER_DIGEST_TASK_INTERVAL: "5" } - role: notifier
- { role: "xqueue", update_users: True } NOTIFIER_DIGEST_TASK_INTERVAL: 5
- role: xqueue
update_users: True
- certs - certs
- edx_ansible - edx_ansible
- role: datadog - role: datadog
......
...@@ -26,7 +26,8 @@ ...@@ -26,7 +26,8 @@
- edxlocal - edxlocal
- memcache - memcache
- mongo - mongo
- { role: 'rabbitmq', rabbitmq_ip: '127.0.0.1' } - role: rabbitmq
rabbitmq_ip: 127.0.0.1
- edxapp - edxapp
- oraclejdk - oraclejdk
- elasticsearch - elasticsearch
......
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