mirror of
https://github.com/FAUSheppy/no-secrets-athq-ansible
synced 2025-12-10 06:38:33 +01:00
add: global handlers
This commit is contained in:
11
roles/global-handlers/handlers/main.yml
Normal file
11
roles/global-handlers/handlers/main.yml
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
- name: nsca-ng service reload
|
||||||
|
systemd:
|
||||||
|
name: nsca-ng
|
||||||
|
state: restarted
|
||||||
|
enabled: yes
|
||||||
|
daemon_reload: yes
|
||||||
|
|
||||||
|
- name: restart rsyslog
|
||||||
|
systemd:
|
||||||
|
name: rsyslog
|
||||||
|
state: restarted
|
||||||
2
roles/rsyslog-client/meta/main.yml
Normal file
2
roles/rsyslog-client/meta/main.yml
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
dependencies:
|
||||||
|
- global-handlers
|
||||||
2
roles/rsyslog-server/meta/main.yml
Normal file
2
roles/rsyslog-server/meta/main.yml
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
dependencies:
|
||||||
|
- global-handlers
|
||||||
Reference in New Issue
Block a user