Commit cf70d70b by Jeff LaJoie

adds env to failing command

parent 1b8e80ba
......@@ -60,16 +60,16 @@
- 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
- name: initialize elasticsearch
command: "env && {{ 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
......
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