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
2cfd16f1
Commit
2cfd16f1
authored
Oct 17, 2013
by
John Jarvis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updating comment blocks for devpi and gh_mirror
parent
70067fba
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
84 additions
and
0 deletions
+84
-0
playbooks/roles/devpi/handlers/main.yml
+12
-0
playbooks/roles/devpi/tasks/main.yml
+31
-0
playbooks/roles/gh_mirror/defaults/main.yml
+12
-0
playbooks/roles/gh_mirror/tasks/main.yml
+29
-0
No files found.
playbooks/roles/devpi/handlers/main.yml
View file @
2cfd16f1
#
# edX Configuration
#
# github: https://github.com/edx/configuration
# wiki: https://github.com/edx/configuration/wiki
# code style: https://github.com/edx/configuration/wiki/Ansible-Coding-Conventions
# license: https://github.com/edx/configuration/blob/master/LICENSE.TXT
#
#
#
# Defaults for role devpi
#
---
---
-
name
:
devpi | restart devpi
-
name
:
devpi | restart devpi
supervisorctl
:
>
supervisorctl
:
>
...
...
playbooks/roles/devpi/tasks/main.yml
View file @
2cfd16f1
#
# edX Configuration
#
# github: https://github.com/edx/configuration
# wiki: https://github.com/edx/configuration/wiki
# code style: https://github.com/edx/configuration/wiki/Ansible-Coding-Conventions
# license: https://github.com/edx/configuration/blob/master/LICENSE.TXT
#
#
#
# Tasks for role devpi
#
# Overview:
# Creates a pypi caching server
#
# Dependencies:
# - common
# - nginx
# - supervisor
#
# Example play:
# roles:
# - common
# - role: nginx
# nginx_sites:
# - devpi
# - role: supervisor
# supervisor_servers:
# - devpi
# - devpi
---
---
-
name
:
devpi | create devpi user
-
name
:
devpi | create devpi user
user
:
>
user
:
>
...
...
playbooks/roles/gh_mirror/defaults/main.yml
View file @
2cfd16f1
#
# edX Configuration
#
# github: https://github.com/edx/configuration
# wiki: https://github.com/edx/configuration/wiki
# code style: https://github.com/edx/configuration/wiki/Ansible-Coding-Conventions
# license: https://github.com/edx/configuration/blob/master/LICENSE.TXT
#
#
#
# Defaults for role gh_mirror
#
---
---
gh_mirror_nginx_port
:
80
gh_mirror_nginx_port
:
80
gh_mirror_server_name
:
'
git.*'
gh_mirror_server_name
:
'
git.*'
...
...
playbooks/roles/gh_mirror/tasks/main.yml
View file @
2cfd16f1
#
# edX Configuration
#
# github: https://github.com/edx/configuration
# wiki: https://github.com/edx/configuration/wiki
# code style: https://github.com/edx/configuration/wiki/Ansible-Coding-Conventions
# license: https://github.com/edx/configuration/blob/master/LICENSE.TXT
#
#
#
# Tasks for role gh_mirror
#
# Overview:
# Creates a github read-only mirror server
# Will sync all public repos in gh_mirror_orgs
#
# Dependencies:
# - common
# - nginx
#
# Example play:
# roles:
# - common
# - role: nginx
# nginx_sites:
# - gh_mirror
# - gh_mirror
---
---
-
name
:
gh_mirror | install pip packages
-
name
:
gh_mirror | install pip packages
pip
:
name={{ item }} state=present
pip
:
name={{ item }} state=present
...
...
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