1
0
mirror of https://git.libreschool.org/paspo/brasatore.git synced 2024-11-25 07:38:45 +00:00
brasatore/roles/pxeserver/handlers/main.yaml

27 lines
380 B
YAML
Raw Normal View History

2023-10-26 19:15:51 +00:00
---
- name: reboot
reboot:
become: true
- name: nginx_restart
service:
name: nginx
state: restarted
become: true
- name: dnsmasq_restart
service:
name: dnsmasq
state: restarted
become: true
- name: nfs_reload_exports
shell: exportfs -r
become: true
- name: nfs_restart
service:
name: nfs-kernel-server
state: restarted
become: true