I think this is right now: set the ownership of /var/log/regluit to {{user}}

working for now...
pull/1/head
Raymond Yee 2016-06-25 10:07:31 -07:00
parent 6be6449780
commit aaf9bf39f0
1 changed files with 2 additions and 1 deletions

View File

@ -83,6 +83,7 @@
- python-setuptools - python-setuptools
- python-dev - python-dev
- postfix - postfix
- mailutils
tags: install tags: install
- name: make {{user}} group - name: make {{user}} group
@ -240,7 +241,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=www-data group=www-data mode=2775 file: path=/var/log/regluit state=directory owner={{user}} group=www-data mode=2775
#Run syncdb on the application #Run syncdb on the application
# TO DO: syncdb might be deprecated # TO DO: syncdb might be deprecated