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
|
- name: add {{user}} to celery, www-data groups
|
||||||
user: name={{user}} groups=celery,www-data append=yes
|
user: name={{user}} groups=celery,www-data append=yes
|
||||||
|
|
||||||
- name: add www-data to {{user}} group
|
# - name: add www-data to {{user}} group
|
||||||
user: name=www-data groups={{user}} append=yes
|
# user: name=www-data groups={{user}} append=yes
|
||||||
|
|
||||||
- name: install some python modules to use
|
- name: install some python modules to use
|
||||||
#pip: name={{item}} virtualenv=/home/{{user}}/venv
|
#pip: name={{item}} virtualenv=/home/{{user}}/venv
|
||||||
|
@ -240,7 +240,7 @@
|
||||||
|
|
||||||
# provide a directory for django log file
|
# provide a directory for django log file
|
||||||
- name: make /var/log/regluit
|
- 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
|
#Run syncdb on the application
|
||||||
# TO DO: syncdb might be deprecated
|
# TO DO: syncdb might be deprecated
|
||||||
|
|
Loading…
Reference in New Issue