automatic backup disk on/off
This commit is contained in:
12
roles/_handlers/handlers/main.yaml
Normal file
12
roles/_handlers/handlers/main.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
- name: reload systemd
|
||||
command: systemctl daemon-reload
|
||||
|
||||
|
||||
- name: Restart NGINX
|
||||
service:
|
||||
name: nginx
|
||||
state: restarted
|
||||
|
||||
|
||||
- name: Run APT update
|
||||
command: apt update -y
|
||||
Reference in New Issue
Block a user