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
d22e2de1
Commit
d22e2de1
authored
May 16, 2013
by
Vik Paruchuri
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup for PR
parent
b9656661
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
9 additions
and
9 deletions
+9
-9
playbooks/ec2.ini
+1
-1
playbooks/group_vars/all
+1
-4
playbooks/roles/common/tasks/create_users.yml
+0
-1
playbooks/roles/common/tasks/create_venv.yml
+4
-0
playbooks/roles/common/tasks/edx_logging_base.yml
+1
-1
playbooks/roles/common/tasks/software_update.yml
+2
-2
No files found.
playbooks/ec2.ini
View file @
d22e2de1
[ec2]
regions
=
all
destination_variable
=
public_dns_name
vpc_destination_variable
=
private_
ip_address
vpc_destination_variable
=
private_
dns_name
cache_path
=
/tmp
cache_max_age
=
300
playbooks/group_vars/all
View file @
d22e2de1
...
...
@@ -2,13 +2,10 @@
app_base_dir: /opt/wwc
log_base_dir: /mnt/logs
venv_dir: /opt/edx
platform_code_dir: $app_base_dir/edx-platform
os_name: ubuntu
# these pathes are relative to the playbook dir
# directory for secret settings (keys, etc)
secure_dir: '../../edx-secret'
secure_dir: 'secure_example'
# this indicates the path to site-specific (with precedence)
# things like nginx template files
local_dir: '../../ansible_local'
playbooks/roles/common/tasks/create_users.yml
View file @
d22e2de1
...
...
@@ -20,7 +20,6 @@
user
:
name={{ item.user }} append=yes groups={{ "adm,edx,"+",".join(item.groups) }} shell=/bin/bash
with_items
:
admin_users
when
:
admin_users is defined
sudo
:
True
tags
:
-
users
-
admin_users
...
...
playbooks/roles/common/tasks/create_venv.yml
View file @
d22e2de1
...
...
@@ -5,21 +5,25 @@
tags
:
-
venv_base
-
install
-
name
:
pip install virtualenv
pip
:
name=virtualenv state=latest
tags
:
-
venv_base
-
install
-
name
:
pip install virtualenvwrapper
pip
:
name=virtualenvwrapper state=latest
tags
:
-
venv_base
-
install
-
name
:
create edx virtualenv directory
file
:
path=$venv_dir owner=ubuntu group=adm mode=2775 state=directory
tags
:
-
venv_base
-
install
-
name
:
create the edx virtualenv directory initial contents
command
:
/usr/local/bin/virtualenv $venv_dir creates=$venv_dir/bin/activate
tags
:
...
...
playbooks/roles/common/tasks/edx_logging_base.yml
View file @
d22e2de1
...
...
@@ -19,7 +19,7 @@
-
update
-
name
:
Set permissions on tracking file
file
:
path={{log_base_dir}}/tracking.log owner=syslog group=adm mode=
75
0
file
:
path={{log_base_dir}}/tracking.log owner=syslog group=adm mode=
64
0
tags
:
-
logging
-
update
...
...
playbooks/roles/common/tasks/software_update.yml
View file @
d22e2de1
---
-
name
:
edx-update.sh, manual lms/cms update script
template
:
src=edx-update.sh.j2
dest=/usr/local/bin/edx-update.sh owner=ubuntu group=adm mode=0775
copy
:
src=roles/common/files/edx-update.sh
dest=/usr/local/bin/edx-update.sh owner=ubuntu group=adm mode=0775
tags
:
-
update
-
release
-
update
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