Added base patch management role
This commit is contained in:
14
roles/unattended-upgrades/handlers/main.yml
Normal file
14
roles/unattended-upgrades/handlers/main.yml
Normal file
@ -0,0 +1,14 @@
|
||||
---
|
||||
# handlers file for unattended-upgrades
|
||||
|
||||
- name: restart_postfix
|
||||
service:
|
||||
name: postfix
|
||||
state: restarted
|
||||
become: yes
|
||||
|
||||
- name: restart_unattended-upgrades
|
||||
service:
|
||||
name: unattended-upgrades
|
||||
state: restarted
|
||||
become: yes
|
Reference in New Issue
Block a user