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
7f8b6799
Commit
7f8b6799
authored
May 16, 2013
by
Vik Paruchuri
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
file fixes
parent
d22e2de1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
3 deletions
+7
-3
playbooks/ec2.py
+2
-1
playbooks/group_vars/all
+3
-0
playbooks/roles/common/tasks/edx_logging_base.yml
+1
-1
playbooks/roles/common/tasks/software_update.yml
+1
-1
No files found.
playbooks/ec2.py
View file @
7f8b6799
...
...
@@ -378,8 +378,9 @@ class Ec2Inventory(object):
def
push
(
self
,
my_dict
,
key
,
element
):
''' Pushed an element onto an array that may not have been defined in
the dict '''
if
key
in
my_dict
:
my_dict
[
key
]
.
append
(
element
)
;
my_dict
[
key
]
.
append
(
element
)
else
:
my_dict
[
key
]
=
[
element
]
...
...
playbooks/group_vars/all
View file @
7f8b6799
...
...
@@ -2,10 +2,13 @@
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: 'secure_example'
# this indicates the path to site-specific (with precedence)
# things like nginx template files
local_dir: '../../ansible_local'
playbooks/roles/common/tasks/edx_logging_base.yml
View file @
7f8b6799
...
...
@@ -13,7 +13,7 @@
-
update
-
name
:
Touch tracking file into existence
command
:
touch -a {{log_base_dir}}/tracking.log creates={{log_base_dir}}/tracking.log
command
:
touch -a {{log_base_dir}}/tracking.log creates={{log_base_dir}}/tracking.log
tags
:
-
logging
-
update
...
...
playbooks/roles/common/tasks/software_update.yml
View file @
7f8b6799
---
-
name
:
edx-update.sh, manual lms/cms update script
copy
:
src=roles/common/files/edx-update.sh
dest=/usr/local/bin/edx-update.sh owner=ubuntu group=adm mode=0775
template
:
src=edx-update.sh.j2
dest=/usr/local/bin/edx-update.sh owner=ubuntu group=adm mode=0775
tags
:
-
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