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
e3579bfc
Unverified
Commit
e3579bfc
authored
Dec 28, 2016
by
Gabe Mulley
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use become instead of sudo
parent
4f564398
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
13 deletions
+12
-13
docker/plays/analytics_api.yml
+1
-1
docker/plays/analytics_pipeline.yml
+8
-9
docker/plays/insights.yml
+1
-1
playbooks/roles/analytics_pipeline/tasks/main.yml
+2
-2
No files found.
docker/plays/analytics_api.yml
View file @
e3579bfc
-
name
:
Deploy Analytics API
hosts
:
all
sudo
:
True
become
:
True
gather_facts
:
True
vars
:
serial_count
:
1
...
...
docker/plays/analytics_pipeline.yml
View file @
e3579bfc
-
name
:
Deploy dependencies needed to run edx-analytics-pipeline
hosts
:
all
sudo
:
True
become
:
True
gather_facts
:
True
vars
:
serial_count
:
1
...
...
@@ -43,11 +43,10 @@
tags
:
-
devstack:start
# - name: refresh registered entrypoints
# shell: ". {{ analytics_pipeline_venv_dir }}/bin/activate && make develop-local"
# args:
# chdir: "{{ analytics_pipeline_code_dir }}"
# environment: analytics_pipeline_install_env
# ignore_errors: yes
# tags:
# - devstack:start
-
name
:
refresh registered entrypoints
shell
:
"
.
{{
analytics_pipeline_venv_dir
}}/bin/activate
&&
make
develop-local"
args
:
chdir
:
"
{{
analytics_pipeline_code_dir
}}"
environment
:
analytics_pipeline_install_env
tags
:
-
devstack:start
docker/plays/insights.yml
View file @
e3579bfc
-
name
:
Deploy Insights
hosts
:
all
sudo
:
True
become
:
True
gather_facts
:
True
vars
:
serial_count
:
1
...
...
playbooks/roles/analytics_pipeline/tasks/main.yml
View file @
e3579bfc
...
...
@@ -29,7 +29,7 @@
#
# - name: Deploy all dependencies of edx-analytics-pipeline to the node
# hosts: all
#
sudo
: True
#
become
: True
# gather_facts: True
# roles:
# - analytics_pipeline
...
...
@@ -41,7 +41,7 @@
command
:
make system-requirements
args
:
chdir
:
"
{{
analytics_pipeline_code_dir
}}"
sudo
:
True
become
:
True
tags
:
-
install
-
install:system-requirements
...
...
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