mirror of
https://git.libreschool.org/paspo/brasatore.git
synced 2024-11-24 23:28:45 +00:00
27 lines
380 B
YAML
27 lines
380 B
YAML
|
---
|
||
|
- 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
|