Skip to content

nkakouros-original/ansible-role-systemd-notifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Galaxy

ansible-role-systemd-notifier

Installs a notifier to inform the user of failures of systemd services

Description

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.

Requirements

For Slack messages, you need to setup a hook for the role to use.

Dependencies

None

Role Variables

Look at the defaults/main.yml file for this roles variables and their documentation.

Example Playbook

This is a minimal playbook:

- hosts: server
  roles:
    - nkakouros.systemd-notifier

For a full example see the molecule/default/ folder.

License

GPLv3

Author Information

Nikolaos Kakouros (nkak@kth.se)

Releases

No releases published

Packages

No packages published

Languages