Commit 6ef4887e by Sven Marnach

Move swapfile role to the beginning of the edx_sandbox.yml playbook.

We deploy on our sandboxes on OpenStack machines with 4 GB of RAM and no swap
enabled by default, which results in memory pressure already during the
installation process, so we need to have the swapfile role first.
parent 957eab2b
......@@ -20,6 +20,7 @@
COMMON_ENABLE_SPLUNKFORWARDER: False
ENABLE_LEGACY_ORA: !!null
roles:
- { role: swapfile, SWAPFILE_SIZE: "2GB" }
- role: nginx
nginx_sites:
- certs
......@@ -54,7 +55,6 @@
when: ENABLE_LEGACY_ORA
- certs
- edx_ansible
- { role: swapfile, SWAPFILE_SIZE: "2GB" }
- role: datadog
when: COMMON_ENABLE_DATADOG
- role: splunkforwarder
......
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