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
edx
configuration
Commits
62e5bfec
Commit
62e5bfec
authored
Jun 23, 2014
by
John Jarvis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
small cleanup
parent
694df33d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
13 deletions
+5
-13
playbooks/roles/analytics_api/defaults/main.yml
+1
-8
playbooks/roles/analytics_api/tasks/deploy.yml
+0
-3
playbooks/roles/analytics_api/tasks/main.yml
+4
-2
No files found.
playbooks/roles/analytics_api/defaults/main.yml
View file @
62e5bfec
...
...
@@ -11,13 +11,7 @@
# Defaults for role analytics_api
#
#
# vars are namespace with the module name.
#
ANALYTICS_API_GIT_IDENTITY
:
|
-----BEGIN RSA PRIVATE KEY-----
Your key if you need to access any private repositories
-----END RSA PRIVATE KEY-----
ANALYTICS_API_GIT_IDENTITY
:
!!null
# depends upon Newrelic being enabled via COMMON_ENABLE_NEWRELIC
# and a key being provided via NEWRELIC_LICENSE_KEY
...
...
@@ -30,7 +24,6 @@ ANALYTICS_API_PIP_EXTRA_ARGS: "-i {{ COMMON_PYPI_MIRROR_URL }}"
analytics_api_role_name
:
"
analytics_api"
analytics_api_service_name
:
"
analytics_api"
analytics_api_user
:
"
analytics_api"
analytics_api_module
:
"
xqueue_watcher"
analytics_api_app_dir
:
"
{{
COMMON_APP_DIR
}}/{{
analytics_api_service_name
}}"
analytics_api_home
:
"
{{
COMMON_APP_DIR
}}/{{
analytics_api_service_name
}}"
...
...
playbooks/roles/analytics_api/tasks/deploy.yml
View file @
62e5bfec
...
...
@@ -15,7 +15,6 @@
pip
:
>
requirements="{{ analytics_api_requirements_base }}/{{ item }}"
virtualenv="{{ analytics_api_venv_dir }}" state=present
sudo
:
true
sudo_user
:
"
{{
analytics_api_user
}}"
with_items
:
analytics_api_requirements
...
...
@@ -45,8 +44,6 @@
force=yes
when
:
not disable_edx_services
#
# Needs review
-
name
:
update supervisor configuration
shell
:
"
{{
supervisor_ctl
}}
-c
{{
supervisor_cfg
}}
update"
when
:
not disable_edx_services
...
...
playbooks/roles/analytics_api/tasks/main.yml
View file @
62e5bfec
...
...
@@ -32,4 +32,7 @@
# ansible-playbook -i 'api.example.com,' ./analytics_api.yml -e@/ansible/vars/deployment.yml -e@/ansible/vars/env-deployment.yml
#
-
include
:
deploy.yml tags=deploy
\ No newline at end of file
-
fail
:
msg="You must provide an private key for the analytics repo"
when
:
not ANALYTICS_API_GIT_IDENTITY
-
include
:
deploy.yml tags=deploy
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