More documentation

This commit is contained in:
2025-11-18 11:34:14 +01:00
parent d3c5cfe00f
commit 97b5bd92c6
3 changed files with 29 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
- name: Prueba de handlers
hosts: webserver
become: yes
tasks:
- name: Copiar archivo de configuración
copy:
src: nginx.conf
dest: /etc/nginx/nginx.conf
notify:
- Reiniciar Nginx
handlers:
- name: Reiniciar Nginx
service:
name: nginx
state: restarted