Commit d22e2de1 by Vik Paruchuri

Cleanup for PR

parent b9656661
[ec2] [ec2]
regions=all regions=all
destination_variable=public_dns_name destination_variable=public_dns_name
vpc_destination_variable=private_ip_address vpc_destination_variable=private_dns_name
cache_path=/tmp cache_path=/tmp
cache_max_age=300 cache_max_age=300
...@@ -2,13 +2,10 @@ ...@@ -2,13 +2,10 @@
app_base_dir: /opt/wwc app_base_dir: /opt/wwc
log_base_dir: /mnt/logs log_base_dir: /mnt/logs
venv_dir: /opt/edx venv_dir: /opt/edx
platform_code_dir: $app_base_dir/edx-platform
os_name: ubuntu
# these pathes are relative to the playbook dir # these pathes are relative to the playbook dir
# directory for secret settings (keys, etc) # directory for secret settings (keys, etc)
secure_dir: '../../edx-secret' secure_dir: 'secure_example'
# this indicates the path to site-specific (with precedence) # this indicates the path to site-specific (with precedence)
# things like nginx template files # things like nginx template files
local_dir: '../../ansible_local' local_dir: '../../ansible_local'
...@@ -20,7 +20,6 @@ ...@@ -20,7 +20,6 @@
user: name={{ item.user }} append=yes groups={{ "adm,edx,"+",".join(item.groups) }} shell=/bin/bash user: name={{ item.user }} append=yes groups={{ "adm,edx,"+",".join(item.groups) }} shell=/bin/bash
with_items: admin_users with_items: admin_users
when: admin_users is defined when: admin_users is defined
sudo: True
tags: tags:
- users - users
- admin_users - admin_users
......
...@@ -5,21 +5,25 @@ ...@@ -5,21 +5,25 @@
tags: tags:
- venv_base - venv_base
- install - install
- name: pip install virtualenv - name: pip install virtualenv
pip: name=virtualenv state=latest pip: name=virtualenv state=latest
tags: tags:
- venv_base - venv_base
- install - install
- name: pip install virtualenvwrapper - name: pip install virtualenvwrapper
pip: name=virtualenvwrapper state=latest pip: name=virtualenvwrapper state=latest
tags: tags:
- venv_base - venv_base
- install - install
- name: create edx virtualenv directory - name: create edx virtualenv directory
file: path=$venv_dir owner=ubuntu group=adm mode=2775 state=directory file: path=$venv_dir owner=ubuntu group=adm mode=2775 state=directory
tags: tags:
- venv_base - venv_base
- install - install
- name: create the edx virtualenv directory initial contents - name: create the edx virtualenv directory initial contents
command: /usr/local/bin/virtualenv $venv_dir creates=$venv_dir/bin/activate command: /usr/local/bin/virtualenv $venv_dir creates=$venv_dir/bin/activate
tags: tags:
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
- update - update
- name: Set permissions on tracking file - name: Set permissions on tracking file
file: path={{log_base_dir}}/tracking.log owner=syslog group=adm mode=750 file: path={{log_base_dir}}/tracking.log owner=syslog group=adm mode=640
tags: tags:
- logging - logging
- update - update
......
--- ---
- name: edx-update.sh, manual lms/cms update script - 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: tags:
- update
- release - release
- update
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment