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
fc6834f7
Commit
fc6834f7
authored
Nov 20, 2013
by
Carson Gee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Renaming local modules to not overwrite the ansible's library names
parent
69cf2432
Hide whitespace changes
Inline
Side-by-side
Showing
31 changed files
with
35 additions
and
45 deletions
+35
-45
playbooks/edx_provision_test.yml
+1
-1
playbooks/library/ec2_local
+0
-0
playbooks/library/supervisorctl_local
+0
-0
playbooks/roles/analytics-server/defaults/main.yml
+1
-2
playbooks/roles/analytics-server/meta/main.yml
+1
-2
playbooks/roles/analytics-server/tasks/main.yml
+1
-2
playbooks/roles/analytics/defaults/main.yml
+1
-2
playbooks/roles/analytics/tasks/main.yml
+1
-2
playbooks/roles/apache/defaults/main.yml
+1
-2
playbooks/roles/certs/handlers/main.yml
+1
-1
playbooks/roles/certs/tasks/deploy.yml
+1
-1
playbooks/roles/devpi/handlers/main.yml
+1
-1
playbooks/roles/devpi/tasks/main.yml
+1
-1
playbooks/roles/discern/handlers/main.yml
+1
-1
playbooks/roles/discern/tasks/deploy.yml
+1
-1
playbooks/roles/edxapp/handlers/main.yml
+2
-2
playbooks/roles/edxapp/tasks/deploy.yml
+2
-2
playbooks/roles/elasticsearch/defaults/main.yml
+1
-2
playbooks/roles/forum/handlers/main.yml
+1
-1
playbooks/roles/forum/tasks/deploy.yml
+1
-1
playbooks/roles/launch_ec2/tasks/main.yml
+2
-2
playbooks/roles/notifier/handlers/main.yml
+2
-2
playbooks/roles/notifier/tasks/deploy.yml
+1
-2
playbooks/roles/notifier/tasks/main.yml
+1
-2
playbooks/roles/ora/handlers/main.yml
+2
-2
playbooks/roles/ora/tasks/deploy.yml
+2
-2
playbooks/roles/s3fs/defaults/main.yml
+1
-2
playbooks/roles/xqueue/handlers/main.yml
+1
-1
playbooks/roles/xqueue/tasks/deploy.yml
+1
-1
playbooks/roles/xserver/handlers/main.yml
+1
-1
playbooks/roles/xserver/tasks/deploy.yml
+1
-1
No files found.
playbooks/edx_provision_test.yml
View file @
fc6834f7
...
...
@@ -45,6 +45,6 @@
tasks
:
-
name
:
Terminate instances that were previously launched
local_action
:
module
:
ec2
module
:
ec2
_local
state
:
'
absent'
instance_ids
:
${ec2.instance_ids}
playbooks/library/ec2
→
playbooks/library/ec2
_local
View file @
fc6834f7
File moved
playbooks/library/supervisorctl
→
playbooks/library/supervisorctl
_local
View file @
fc6834f7
File moved
playbooks/roles/analytics-server/defaults/main.yml
View file @
fc6834f7
...
...
@@ -87,4 +87,4 @@ as_redhat_pkgs:
# Installed via pip to get the IAM role feature.
#
as_pip_pkgs
:
-
git+https://github.com/s3tools/s3cmd.git#egg=s3cmd
\ No newline at end of file
-
git+https://github.com/s3tools/s3cmd.git#egg=s3cmd
playbooks/roles/analytics-server/meta/main.yml
View file @
fc6834f7
...
...
@@ -8,4 +8,4 @@ dependencies:
automated_sudoers_template
:
'
roles/analytics-server/templates/etc/sudoers.d/99-automator-analytics-server.j2'
}
\ No newline at end of file
playbooks/roles/analytics-server/tasks/main.yml
View file @
fc6834f7
...
...
@@ -133,4 +133,4 @@
src=etc/init/analytics.conf.j2 dest=/etc/init/analytics.conf
owner=root group=root
-
include
:
deploy.yml
\ No newline at end of file
-
include
:
deploy.yml
playbooks/roles/analytics/defaults/main.yml
View file @
fc6834f7
...
...
@@ -87,4 +87,4 @@ analytics_redhat_pkgs:
# Installed via pip to get the IAM role feature.
#
analytics_pip_pkgs
:
-
git+https://github.com/s3tools/s3cmd.git#egg=s3cmd
\ No newline at end of file
-
git+https://github.com/s3tools/s3cmd.git#egg=s3cmd
playbooks/roles/analytics/tasks/main.yml
View file @
fc6834f7
...
...
@@ -133,4 +133,4 @@
src=etc/init/analytics.conf.j2 dest=/etc/init/analytics.conf
owner=root group=root
-
include
:
deploy.yml
\ No newline at end of file
-
include
:
deploy.yml
playbooks/roles/apache/defaults/main.yml
View file @
fc6834f7
---
apache_port
:
80
\ No newline at end of file
apache_port
:
80
playbooks/roles/certs/handlers/main.yml
View file @
fc6834f7
...
...
@@ -15,7 +15,7 @@
#
-
name
:
certs | restart certs
supervisorctl
:
>
supervisorctl
_local
:
>
name=certs
supervisorctl_path={{ supervisor_ctl }}
config={{ supervisor_cfg }}
...
...
playbooks/roles/certs/tasks/deploy.yml
View file @
fc6834f7
...
...
@@ -68,7 +68,7 @@
changed_when
:
supervisor_update.stdout != ""
-
name
:
certs | ensure certs has started
supervisorctl
:
>
supervisorctl
_local
:
>
name=certs
supervisorctl_path={{ supervisor_ctl }}
config={{ supervisor_cfg }}
...
...
playbooks/roles/devpi/handlers/main.yml
View file @
fc6834f7
...
...
@@ -12,7 +12,7 @@
#
---
-
name
:
devpi | restart devpi
supervisorctl
:
>
supervisorctl
_local
:
>
state=restarted
supervisorctl_path={{ devpi_supervisor_ctl }}
config={{ devpi_supervisor_cfg }}
...
...
playbooks/roles/devpi/tasks/main.yml
View file @
fc6834f7
...
...
@@ -107,7 +107,7 @@
tags
:
deploy
-
name
:
devpi | ensure devpi is started
supervisorctl
:
>
supervisorctl
_local
:
>
state=started
supervisorctl_path={{ devpi_supervisor_ctl }}
config={{ devpi_supervisor_cfg }}
...
...
playbooks/roles/discern/handlers/main.yml
View file @
fc6834f7
---
-
name
:
discern | restart discern
supervisorctl
:
>
supervisorctl
_local
:
>
name=discern
supervisorctl_path={{ supervisor_ctl }}
config={{ supervisor_cfg }}
...
...
playbooks/roles/discern/tasks/deploy.yml
View file @
fc6834f7
...
...
@@ -121,7 +121,7 @@
tags
:
deploy
-
name
:
discern | ensure discern, discern_celery has started
supervisorctl
:
>
supervisorctl
_local
:
>
name={{ item }}
supervisorctl_path={{ supervisor_ctl }}
config={{ supervisor_cfg }}
...
...
playbooks/roles/edxapp/handlers/main.yml
View file @
fc6834f7
---
-
name
:
edxapp | restart edxapp
supervisorctl
:
>
supervisorctl
_local
:
>
state=restarted
supervisorctl_path={{ supervisor_ctl }}
config={{ supervisor_cfg }}
...
...
@@ -11,7 +11,7 @@
tags
:
deploy
-
name
:
edxapp | restart edxapp_workers
supervisorctl
:
>
supervisorctl
_local
:
>
name="edxapp_worker:{{ item.service_variant }}_{{ item.queue }}_{{ item.concurrency }}"
supervisorctl_path={{ supervisor_ctl }}
config={{ supervisor_cfg }}
...
...
playbooks/roles/edxapp/tasks/deploy.yml
View file @
fc6834f7
...
...
@@ -231,7 +231,7 @@
tags
:
deploy
-
name
:
edxapp | ensure edxapp has started
supervisorctl
:
>
supervisorctl
_local
:
>
state=started
supervisorctl_path={{ supervisor_ctl }}
config={{ supervisor_cfg }}
...
...
@@ -242,7 +242,7 @@
tags
:
deploy
-
name
:
edxapp | ensure edxapp_workers has started
supervisorctl
:
>
supervisorctl
_local
:
>
name="edxapp_worker:{{ item.service_variant }}_{{ item.queue }}_{{ item.concurrency }}"
supervisorctl_path={{ supervisor_ctl }}
config={{ supervisor_cfg }}
...
...
playbooks/roles/elasticsearch/defaults/main.yml
View file @
fc6834f7
...
...
@@ -3,4 +3,4 @@
elasticsearch_version
:
"
0.90.2"
elasticsearch_sha
:
"
397227ce37f616734f39f6e93539c9eaa82bec9"
elasticsearch_file
:
"
elasticsearch-{{
elasticsearch_version
}}.deb"
elasticsearch_url
:
"
https://download.elasticsearch.org/elasticsearch/elasticsearch/{{
elasticsearch_file
}}"
\ No newline at end of file
elasticsearch_url
:
"
https://download.elasticsearch.org/elasticsearch/elasticsearch/{{
elasticsearch_file
}}"
playbooks/roles/forum/handlers/main.yml
View file @
fc6834f7
---
-
name
:
forum | restart the forum service
supervisorctl
:
>
supervisorctl
_local
:
>
name=forum
supervisorctl_path={{ supervisor_ctl }}
config={{ supervisor_cfg }}
...
...
playbooks/roles/forum/tasks/deploy.yml
View file @
fc6834f7
...
...
@@ -49,7 +49,7 @@
tags
:
deploy
-
name
:
forum | ensure forum is started
supervisorctl
:
>
supervisorctl
_local
:
>
name=forum
supervisorctl_path={{ supervisor_ctl }}
config={{ supervisor_cfg }}
...
...
playbooks/roles/launch_ec2/tasks/main.yml
View file @
fc6834f7
...
...
@@ -18,7 +18,7 @@
-
name
:
terminating single instance
local_action
:
module
:
ec2
module
:
ec2
_local
state
:
'
absent'
region
:
"
{{
region
}}"
instance_ids
:
${tag_lookup.instance_ids}
...
...
@@ -36,7 +36,7 @@
-
name
:
launch_ec2 | Launch ec2 instance
local_action
:
module
:
ec2
module
:
ec2
_local
keypair
:
"
{{
keypair
}}"
group
:
"
{{
security_group
}}"
instance_type
:
"
{{
instance_type
}}"
...
...
playbooks/roles/notifier/handlers/main.yml
View file @
fc6834f7
---
-
name
:
notifier | restart notifier-scheduler
supervisorctl
:
>
supervisorctl
_local
:
>
name=notifier-scheduler
state=restarted
config={{ supervisor_cfg }}
...
...
@@ -9,7 +9,7 @@
tags
:
deploy
-
name
:
notifier | restart notifier-celery-workers
supervisorctl
:
>
supervisorctl
_local
:
>
name=notifier-celery-workers
state=restarted
config={{ supervisor_cfg }}
...
...
playbooks/roles/notifier/tasks/deploy.yml
View file @
fc6834f7
...
...
@@ -39,4 +39,4 @@
-
notifier | restart notifier-scheduler
-
notifier | restart notifier-celery-workers
tags
:
-
deploy
\ No newline at end of file
-
deploy
playbooks/roles/notifier/tasks/main.yml
View file @
fc6834f7
...
...
@@ -99,4 +99,4 @@
sudo_user
:
"
{{
supervisor_user
}}"
notify
:
notifier | restart notifier-scheduler
-
include
:
deploy.yml
\ No newline at end of file
-
include
:
deploy.yml
playbooks/roles/ora/handlers/main.yml
View file @
fc6834f7
---
-
name
:
ora | restart ora
supervisorctl
:
>
supervisorctl
_local
:
>
name=ora
supervisorctl_path={{ supervisor_ctl }}
config={{ supervisor_cfg }}
...
...
@@ -8,7 +8,7 @@
tags
:
deploy
-
name
:
ora | restart ora_celery
supervisorctl
:
>
supervisorctl
_local
:
>
name=ora_celery
supervisorctl_path={{ supervisor_ctl }}
config={{ supervisor_cfg }}
...
...
playbooks/roles/ora/tasks/deploy.yml
View file @
fc6834f7
...
...
@@ -98,7 +98,7 @@
tags
:
deploy
-
name
:
ora | ensure ora is started
supervisorctl
:
>
supervisorctl
_local
:
>
name=ora
supervisorctl_path={{ supervisor_ctl }}
config={{ supervisor_cfg }}
...
...
@@ -106,7 +106,7 @@
tags
:
deploy
-
name
:
ora | ensure ora_celery is started
supervisorctl
:
>
supervisorctl
_local
:
>
name=ora_celery
supervisorctl_path={{ supervisor_ctl }}
config={{ supervisor_cfg }}
...
...
playbooks/roles/s3fs/defaults/main.yml
View file @
fc6834f7
...
...
@@ -43,4 +43,4 @@ s3fs_redhat_pkgs:
-
curl-devel
-
libxml2-devel
-
openssl-devel
-
mailcap
\ No newline at end of file
-
mailcap
playbooks/roles/xqueue/handlers/main.yml
View file @
fc6834f7
-
name
:
xqueue | restart xqueue
supervisorctl
:
>
supervisorctl
_local
:
>
name={{ item }}
supervisorctl_path={{ supervisor_ctl }}
config={{ supervisor_cfg }}
...
...
playbooks/roles/xqueue/tasks/deploy.yml
View file @
fc6834f7
...
...
@@ -83,7 +83,7 @@
tags
:
deploy
-
name
:
xqueue | ensure xqueue, consumer is running
supervisorctl
:
>
supervisorctl
_local
:
>
name={{ item }}
supervisorctl_path={{ supervisor_ctl }}
config={{ supervisor_cfg }}
...
...
playbooks/roles/xserver/handlers/main.yml
View file @
fc6834f7
...
...
@@ -15,7 +15,7 @@
#
-
name
:
xserver | restart xserver
supervisorctl
:
>
supervisorctl
_local
:
>
name=xserver
supervisorctl_path={{ supervisor_ctl }}
config={{ supervisor_cfg }}
...
...
playbooks/roles/xserver/tasks/deploy.yml
View file @
fc6834f7
...
...
@@ -76,7 +76,7 @@
tags
:
deploy
-
name
:
xserver | ensure xserver is started
supervisorctl
:
>
supervisorctl
_local
:
>
name=xserver
supervisorctl_path={{ supervisor_ctl }}
config={{ supervisor_cfg }}
...
...
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