for some reason, the previous commit makes for zombie apache...let's set /var/log/regluit to belong to www-data

pull/1/head
Raymond Yee 2016-06-25 08:55:02 -07:00
parent cd6be7a137
commit aeb42c3142
1 changed files with 3 additions and 3 deletions

View File

@ -107,8 +107,8 @@
- name: add {{user}} to celery, www-data groups
user: name={{user}} groups=celery,www-data append=yes
- name: add www-data to {{user}} group
user: name=www-data groups={{user}} append=yes
# - name: add www-data to {{user}} group
# user: name=www-data groups={{user}} append=yes
- name: install some python modules to use
#pip: name={{item}} virtualenv=/home/{{user}}/venv
@ -240,7 +240,7 @@
# provide a directory for django log file
- name: make /var/log/regluit
file: path=/var/log/regluit state=directory owner={{user}} group={{user}} mode=0775
file: path=/var/log/regluit state=directory owner=www-data group=www-data mode=0775
#Run syncdb on the application
# TO DO: syncdb might be deprecated