for some reason, the previous commit makes for zombie apache...let's set /var/log/regluit to belong to www-data
parent
cd6be7a137
commit
aeb42c3142
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue