Remove the sudo and use become in the role overall.

This commit is contained in:
Dorian 2016-10-02 15:45:47 -04:00
parent 1a4f171d1c
commit 1d486a8b27
2 changed files with 0 additions and 2 deletions

View File

@ -1,3 +1,2 @@
- name: restart nodejs app
supervisorctl: name={{ nodejs_app_service_name }} state=restarted config=/etc/supervisor/supervisord.conf
sudo: yes

View File

@ -8,5 +8,4 @@
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
proxy_pass http://127.0.0.1:{{ nodejs_app_port }};
sudo: yes
notify: restart nginx