Commit 54794c11 by Robert Raposa

Initialize elasticsearch for forums.

parent 3527e8f1
......@@ -60,6 +60,17 @@
- install
- install:app-requirements
- name: initialize elasticsearch
command: "{{ forum_code_dir }}/bin/rake search:initialize"
args:
chdir: "{{ forum_code_dir }}"
become_user: "{{ forum_user }}"
environment: "{{ forum_environment }}"
when: migrate_db is defined and migrate_db|lower == "yes"
tags:
- migrate
- migrate:db
# call supervisorctl update. this reloads
# the supervisorctl config and restarts
# the services if any of the configurations
......
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