Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
configuration
Commits
cf70d70b
Commit
cf70d70b
authored
Mar 06, 2017
by
Jeff LaJoie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adds env to failing command
parent
1b8e80ba
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
playbooks/roles/forum/tasks/deploy.yml
+10
-10
No files found.
playbooks/roles/forum/tasks/deploy.yml
View file @
cf70d70b
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment