File tree Expand file tree Collapse file tree
roles/reverse_proxy/tasks Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2424
2525 }
2626 delegate_to : reverse_proxy
27+ notify : reload nginx
2728
2829- name : add http configs to nginx
2930 lineinfile :
3031 dest : /etc/nginx/nginx.conf
3132 insertafter : ' ^http {'
3233 line : ' include /etc/nginx/http.conf.d/*.conf;'
3334 delegate_to : reverse_proxy
35+ notify : reload nginx
3436
3537- name : Create the http.conf directory for nginx
3638 file :
3739 state : directory
3840 dest : " /etc/nginx/http.conf.d"
3941 delegate_to : reverse_proxy
42+ notify : reload nginx
4043
4144- name : Upload http to reverse proxy
4245 template :
5053 state : directory
5154 dest : " /etc/nginx/map.conf.d"
5255 delegate_to : reverse_proxy
56+ notify : reload nginx
5357
5458- name : Create the upstream.conf directory for nginx
5559 file :
5862 delegate_to : reverse_proxy
5963 notify : reload nginx
6064
61-
6265- name : Upload mappings to reverse proxy
6366 template :
6467 src : map.j2
You can’t perform that action at this time.
0 commit comments