Remove Vagrant ssh task, because going through invoke's pty is awful.
Make permissions on nginx configurations and logs more permissive.
This commit is contained in:
parent
d5e32c5ab8
commit
f566532b14
|
@ -23,9 +23,14 @@
|
|||
- name: restart nginx
|
||||
service: name=nginx state=restarted
|
||||
|
||||
- name: set permissions on nginx log directory
|
||||
file: path=/var/log/nginx state=directory
|
||||
owner={{ web_server_group }} group={{ web_server_group }} mode=0755
|
||||
- name: set permissions on nginx config + log directories
|
||||
file: path={{ item }} state=directory
|
||||
group={{ web_server_group }} mode=0755
|
||||
with_items:
|
||||
- /var/log/nginx
|
||||
- /etc/nginx
|
||||
- /etc/nginx/sites-available
|
||||
- /etc/nginx/sites-enabled
|
||||
|
||||
- name: set permissions on nginx logs
|
||||
file: path=/var/log/nginx/{{ item }} state=file
|
||||
|
|
Loading…
Reference in New Issue