mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Added .cymais.service suffix to make cymais files more visible
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
- name: "reload health-journalctl.service"
|
||||
- name: "reload health-journalctl.cymais.service"
|
||||
systemd:
|
||||
name: health-journalctl.service
|
||||
name: health-journalctl.cymais.service
|
||||
enabled: yes
|
||||
daemon_reload: yes
|
||||
|
@@ -11,11 +11,11 @@
|
||||
dest: "{{health_journalctl_folder}}health-journalctl.sh"
|
||||
when: run_once_health_journalctl is not defined
|
||||
|
||||
- name: create health-journalctl.service
|
||||
- name: create health-journalctl.cymais.service
|
||||
template:
|
||||
src: health-journalctl.service.j2
|
||||
dest: /etc/systemd/system/health-journalctl.service
|
||||
notify: reload health-journalctl.service
|
||||
dest: /etc/systemd/system/health-journalctl.cymais.service
|
||||
notify: reload health-journalctl.cymais.service
|
||||
when: run_once_health_journalctl is not defined
|
||||
|
||||
- name: set service_name to the name of the current role
|
||||
|
@@ -1,6 +1,6 @@
|
||||
[Unit]
|
||||
Description=checking journalctl health
|
||||
OnFailure=systemd-notifier@%n.service
|
||||
OnFailure=systemd-notifier.cymais@%n.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
|
Reference in New Issue
Block a user