Add nginx role and playbook for App1 deployment
- Complete nginx role with official repository setup - Configuration placed in conf.d/ for proper inclusion - Working stub_status endpoints (/status, /nginx_status) - Custom HTML template with monitoring information - Cleanup of default Nginx configurations - Ready for deployment on App1 (192.168.0.110)
This commit is contained in:
13
roles/nginx/handlers/main.yml
Normal file
13
roles/nginx/handlers/main.yml
Normal file
@ -0,0 +1,13 @@
|
||||
---
|
||||
# Handlers for Nginx role
|
||||
- name: reload nginx
|
||||
systemd:
|
||||
name: nginx
|
||||
state: reloaded
|
||||
daemon_reload: yes
|
||||
|
||||
- name: restart nginx
|
||||
systemd:
|
||||
name: nginx
|
||||
state: restarted
|
||||
daemon_reload: yes
|
||||
Reference in New Issue
Block a user