Commit dee88625 by Joe Blaylock

Random incremental fixes

* Enable npm role
* Minor edits to debian dependency list
* Change treatment of a few files and directories
parent d0eec731
...@@ -8,4 +8,7 @@ ...@@ -8,4 +8,7 @@
roles: roles:
- common - common
- nginx - nginx
- gunicorn
- lms - lms
- ruby
- npm
...@@ -9,3 +9,4 @@ ...@@ -9,3 +9,4 @@
- gunicorn - gunicorn
- lms - lms
- ruby - ruby
- npm
...@@ -9,3 +9,4 @@ ...@@ -9,3 +9,4 @@
- gunicorn - gunicorn
- lms - lms
- ruby - ruby
- npm
...@@ -7,13 +7,21 @@ ...@@ -7,13 +7,21 @@
template: src=env.json.j2 dest=$app_base_dir/cms.env.json template: src=env.json.j2 dest=$app_base_dir/cms.env.json
sudo: True sudo: True
tags: tags:
- cms-env
- cms - cms
- name: create cms auth file - name: create cms auth file
template: src=auth.json.j2 dest=$app_base_dir/cms.auth.json template: src=auth.json.j2 dest=$app_base_dir/cms.auth.json
sudo: True sudo: True
tags: tags:
- cms-env
- cms - cms
- include: ../../nginx/tasks/nginx_site.yml state=link site_name=cms - include: ../../nginx/tasks/nginx_site.yml state=link site_name=cms
tags:
- cms
- cms-env
- include: ../../nginx/tasks/nginx_site.yml state=link site_name=cms-backend - include: ../../nginx/tasks/nginx_site.yml state=link site_name=cms-backend
tags:
- cms
-cms-env
{# {% do auth_config.update( { < override some hash keys > } ) %} #}
{{ auth_config | to_nice_json }} {{ auth_config | to_nice_json }}
--- ---
- include: create_users.yml - include: create_users.yml
- name: Create application root - name: Create application root
file: path=$app_base_dir state=directory owner=root group=root # In the future consider making group edx r/t adm
file: path=$app_base_dir state=directory owner=root group=adm mode=2775
sudo: True sudo: True
tags:
- pre_install
- name: Create log directory - name: Create log directory
file: path=/mnt/logs state=directory file: path=/mnt/logs state=directory mode=2770 group=adm owner=root
sudo: True sudo: True
tags:
- pre_install
- name: Create aliases to the log directory
file: state=link src=/mnt/logs path=$app_base_dir/log
tags:
- pre_install
- name: Touch the edx log file into place
command: touch -a /mnt/logs/edx.log
tags:
- pre_install
- name: Update apt cache - name: Update apt cache
apt: update_cache=yes apt: update_cache=yes
sudo: True sudo: True
......
...@@ -41,12 +41,6 @@ ...@@ -41,12 +41,6 @@
- cms - cms
# Check out mitx repo to $app_base_dir # Check out mitx repo to $app_base_dir
- name: set permissions on $app_base_dir sgid for adm
file: path=$app_base_dir owner=root group=adm mode=2775 state=directory
sudo: True
tags:
- lms
- cms
- name: install git and its recommends - name: install git and its recommends
apt: pkg=git state=present install_recommends=yes apt: pkg=git state=present install_recommends=yes
sudo: True sudo: True
......
...@@ -85,6 +85,8 @@ lms_debian_pkgs: ...@@ -85,6 +85,8 @@ lms_debian_pkgs:
- libxml2-dev - libxml2-dev
- libxml2-utils - libxml2-utils
- libxslt1-dev - libxslt1-dev
# convenience
- lynx-cur
- maven2 - maven2
- mongodb - mongodb
- mongodb-clients - mongodb-clients
...@@ -97,11 +99,6 @@ lms_debian_pkgs: ...@@ -97,11 +99,6 @@ lms_debian_pkgs:
- perl - perl
- pkg-config - pkg-config
- postfix - postfix
#- puppet
#- puppet-common
#- puppet-lint
#- puppetmaster
#- puppetmaster-common
- pylint - pylint
- python-boto - python-boto
- python-coverage-test-runner - python-coverage-test-runner
...@@ -119,7 +116,6 @@ lms_debian_pkgs: ...@@ -119,7 +116,6 @@ lms_debian_pkgs:
- sqlite3 - sqlite3
- super - super
- vagrant - vagrant
- vim-puppet
- yui-compressor - yui-compressor
- zip - zip
- zlib1g-dev - zlib1g-dev
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