feat(ansible): Add common role handlers
This commit is contained in:
11
ansible/webserver-automation/roles/common/handlers/main.yml
Normal file
11
ansible/webserver-automation/roles/common/handlers/main.yml
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
---
|
||||||
|
# Common role handlers
|
||||||
|
|
||||||
|
- name: restart sshd
|
||||||
|
service:
|
||||||
|
name: sshd
|
||||||
|
state: restarted
|
||||||
|
|
||||||
|
- name: reload systemd
|
||||||
|
systemd:
|
||||||
|
daemon_reload: true
|
||||||
Reference in New Issue
Block a user