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
8653a892
Commit
8653a892
authored
May 01, 2013
by
Vik Paruchuri
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add in bastion role
parent
49ac3bb7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
0 deletions
+25
-0
playbooks/bastion.yml
+4
-0
playbooks/roles/bastion/tasks/main.yml
+21
-0
No files found.
playbooks/bastion.yml
0 → 100644
View file @
8653a892
-
hosts
:
tag_group_mlapi-bastion
roles
:
-
bastion
\ No newline at end of file
playbooks/roles/bastion/tasks/main.yml
0 → 100644
View file @
8653a892
# requires:
# - common/tasks/main.yml
# - nginx/tasks/main.yml
---
# Check out mitx repo to $app_base_dir
-
name
:
set permissions on $app_base_dir sgid for edx
file
:
path=$app_base_dir owner=root group=edx mode=2775 state=directory
file
:
path=$app_base_dir owner=ubuntu group=edx mode=2775 state=directory
sudo
:
True
-
name
:
Update apt cache
sudo
:
True
apt
:
update_cache=yes
-
name
:
install git and its recommends
apt
:
pkg=git state=installed install_recommends=yes
sudo
:
True
-
name
:
install python and its recommends
apt
:
pkg=python state=installed install_recommends=yes
sudo
:
True
-
name
:
git checkout configuration repo into $app_base_dir
git
:
dest=$app_base_dir/configuration repo=git@github.com:edx/configuration.git
\ No newline at end of file
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