Installs a notifier to inform the user of failures of systemd services
The role will install a script that provides the option to get email or Slack notifications of failures of selected SystemD services. The services are reconfigured to use the script when they stop execution abnormaly.
For Slack messages, you need to setup a hook for the role to use.
None
Look at the defaults/main.yml file for this roles variables and their documentation.
This is a minimal playbook:
- hosts: server
roles:
- nkakouros.systemd-notifier
For a full example see the molecule/default/ folder.
GPLv3
Nikolaos Kakouros ([email protected])