mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-09-03 00:46:10 +02:00
Renamed cymais to infinito and did some other optimations and logout implementations
This commit is contained in:
@@ -7,7 +7,7 @@ Checks the health of all mounted Btrfs filesystems by inspecting device error co
|
||||
- Iterates over every Btrfs filesystem.
|
||||
- Runs `btrfs device stats` and alerts if any error counters are non-zero.
|
||||
- Hooks into systemd and a timer for regular checks.
|
||||
- On failure, calls `sys-alm-compose.cymais@…` for notification.
|
||||
- On failure, calls `sys-alm-compose.infinito@…` for notification.
|
||||
|
||||
## Usage
|
||||
Just include this role in your playbook; it will:
|
||||
|
@@ -1,5 +1,5 @@
|
||||
- name: "reload sys-hlth-btrfs.cymais.service"
|
||||
- name: "reload sys-hlth-btrfs.infinito.service"
|
||||
systemd:
|
||||
name: sys-hlth-btrfs.cymais.service
|
||||
name: sys-hlth-btrfs.infinito.service
|
||||
enabled: yes
|
||||
daemon_reload: yes
|
@@ -6,7 +6,7 @@ galaxy_info:
|
||||
Kevin Veen-Birkenbach
|
||||
Consulting & Coaching Solutions
|
||||
https://www.veen.world
|
||||
license: "CyMaIS NonCommercial License (CNCL)"
|
||||
license: "Infinito.Nexus NonCommercial License (CNCL)"
|
||||
license_url: "https://s.veen.world/cncl"
|
||||
min_ansible_version: "2.9"
|
||||
platforms:
|
||||
@@ -18,7 +18,7 @@ galaxy_info:
|
||||
- health
|
||||
- systemd
|
||||
- filesystem
|
||||
repository: "https://s.veen.world/cymais"
|
||||
documentation: "https://s.veen.world/cymais"
|
||||
repository: "https://github.com/kevinveenbirkenbach/infinito-nexus"
|
||||
documentation: "https://docs.infinito.nexus"
|
||||
dependencies:
|
||||
- sys-alm-compose
|
||||
|
@@ -9,11 +9,11 @@
|
||||
src: sys-hlth-btrfs.sh
|
||||
dest: "{{docker_health_btrfs_folder}}sys-hlth-btrfs.sh"
|
||||
|
||||
- name: create sys-hlth-btrfs.cymais.service
|
||||
- name: create sys-hlth-btrfs.infinito.service
|
||||
template:
|
||||
src: sys-hlth-btrfs.service.j2
|
||||
dest: /etc/systemd/system/sys-hlth-btrfs.cymais.service
|
||||
notify: reload sys-hlth-btrfs.cymais.service
|
||||
dest: /etc/systemd/system/sys-hlth-btrfs.infinito.service
|
||||
notify: reload sys-hlth-btrfs.infinito.service
|
||||
|
||||
- name: "set 'service_name' to '{{ role_name }}'"
|
||||
set_fact:
|
||||
|
@@ -1,6 +1,6 @@
|
||||
[Unit]
|
||||
Description=Check btrfs status
|
||||
OnFailure=sys-alm-compose.cymais@%n.service
|
||||
OnFailure=sys-alm-compose.infinito@%n.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
|
Reference in New Issue
Block a user