[ADD] Removes nginx default site

This commit is contained in:
Jorge Enrique Gómez Gómez 2024-10-23 19:08:12 -05:00
parent f857b3677b
commit b150f40062
2 changed files with 13 additions and 0 deletions

View File

@ -9,3 +9,9 @@ ansible-pull --vault-password-file /root/.vault_pass.txt -U "https://gitea.agofe
Based on [Official Zabbix Server Role][1] Based on [Official Zabbix Server Role][1]
[1]: https://github.com/ansible-collections/community.zabbix/tree/main/roles/zabbix_server [1]: https://github.com/ansible-collections/community.zabbix/tree/main/roles/zabbix_server
Default username/password for the Zabbix Web interface is the default.
Username: Admin
Password: zabbix

View File

@ -72,6 +72,13 @@
notify: notify:
- Reiniciar PHP-FPM - Reiniciar PHP-FPM
- name: 'Eliminar configuración por omisión de Nginx'
file:
path: '/etc/nginx/sites-enabled/default'
state: 'absent'
notify:
- Reiniciar Nginx
- name: 'Configurar Zabbix en Nginx' - name: 'Configurar Zabbix en Nginx'
template: template:
src: nginx.conf.j2 src: nginx.conf.j2