remove some unnecessary sudo

pull/1/head
Raymond Yee 2016-06-22 13:46:59 -07:00
parent d36d5e6f9b
commit 06e4725cac
1 changed files with 3 additions and 0 deletions

View File

@ -204,9 +204,11 @@
- name: establish regluit.pth
lineinfile: create=yes dest=/opt/regluit/ENV/lib/python2.7/site-packages/regluit.pth line="/opt/regluit/"
sudo: no
- name: establish opt.pth
lineinfile: create=yes dest=/opt/regluit/ENV/lib/python2.7/site-packages/regluit.pth line="/opt/"
sudo: no
#sudo('mkdir /var/www/static')
#sudo('chown ubuntu:ubuntu /var/www/static')
@ -312,6 +314,7 @@
lineinfile: create=yes dest=/opt/regluit/settings/local.py line="SECRET_KEY=u'{{django_secret_key}}'"
notify:
- restart apache2
sudo: no
#
#sudo ("/etc/init.d/apache2 restart")