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
6789632b
Commit
6789632b
authored
May 01, 2013
by
Jason Bau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
moved var and task to ruby role per @jarv
parent
5194ab62
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
playbooks/group_vars/all
+0
-1
playbooks/roles/common/tasks/main.yml
+0
-3
playbooks/roles/ruby/tasks/main.yml
+3
-0
playbooks/roles/ruby/vars/main.yml
+1
-0
No files found.
playbooks/group_vars/all
View file @
6789632b
---
app_base_dir: /opt/wwc
ruby_base: /opt/www
#where are the secure files on the deploying machine?
secure_file_dir: ../../edx-secret/ansible/vars/
playbooks/roles/common/tasks/main.yml
View file @
6789632b
...
...
@@ -3,9 +3,6 @@
-
name
:
Create application root
sudo
:
True
file
:
path=$app_base_dir state=directory owner=root group=root
-
name
:
Create ruby base
sudo
:
True
file
:
path=$ruby_base state=directory owner=www group=www
-
name
:
Create log directory
sudo
:
True
file
:
path=/mnt/logs state=directory
...
...
playbooks/roles/ruby/tasks/main.yml
View file @
6789632b
#
#cribbed from https://github.com/mmoya/ansible-playbooks/blob/master/rbenv/main.yml
-
name
:
Create ruby base
sudo
:
True
file
:
path=$ruby_base state=directory owner=www group=www
-
name
:
rbenv | install build depends
sudo
:
true
apt
:
pkg=$item state=present install_recommends=no
...
...
playbooks/roles/ruby/vars/main.yml
View file @
6789632b
---
ruby_base
:
/opt/www
rbenv_root
:
"
{{
ruby_base
}}/.rbenv"
ruby_version
:
"
1.9.3-p374"
gem_home
:
"
{{
ruby_base
}}/.gem"
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