From e2ee58e6a5c4394826a2f67f295a13ceccf987ec Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Fri, 17 Nov 2023 01:43:32 +0100 Subject: [PATCH] removed reload from timed services, so that they don't restart when ansible runs --- roles/cleanup-backups-service/handlers/main.yml | 1 - roles/cleanup-disc-space/handlers/main.yml | 1 - roles/heal-docker/handlers/main.yml | 1 - roles/health-btrfs/handlers/main.yml | 1 - roles/health-disc-space/handlers/main.yml | 1 - roles/health-docker/handlers/main.yml | 1 - roles/health-journalctl/handlers/main.yml | 1 - 7 files changed, 7 deletions(-) diff --git a/roles/cleanup-backups-service/handlers/main.yml b/roles/cleanup-backups-service/handlers/main.yml index 7e6ceb09..062fb33f 100644 --- a/roles/cleanup-backups-service/handlers/main.yml +++ b/roles/cleanup-backups-service/handlers/main.yml @@ -1,6 +1,5 @@ - name: "reload cleanup-backups.service" systemd: name: cleanup-backups.service - state: reloaded enabled: yes daemon_reload: yes diff --git a/roles/cleanup-disc-space/handlers/main.yml b/roles/cleanup-disc-space/handlers/main.yml index 670657b3..0797d3a5 100644 --- a/roles/cleanup-disc-space/handlers/main.yml +++ b/roles/cleanup-disc-space/handlers/main.yml @@ -1,7 +1,6 @@ - name: "reload cleanup-disc-space.service" systemd: name: cleanup-disc-space.service - state: reloaded enabled: yes daemon_reload: yes - name: "restart cleanup-disc-space.timer" diff --git a/roles/heal-docker/handlers/main.yml b/roles/heal-docker/handlers/main.yml index 2da3a60f..16bbe03f 100644 --- a/roles/heal-docker/handlers/main.yml +++ b/roles/heal-docker/handlers/main.yml @@ -1,7 +1,6 @@ - name: "reload heal-docker.service" systemd: name: heal-docker.service - state: reloaded enabled: yes daemon_reload: yes - name: "restart heal-docker.timer" diff --git a/roles/health-btrfs/handlers/main.yml b/roles/health-btrfs/handlers/main.yml index 45343678..e8e58df6 100644 --- a/roles/health-btrfs/handlers/main.yml +++ b/roles/health-btrfs/handlers/main.yml @@ -1,7 +1,6 @@ - name: "reload health-btrfs.service" systemd: name: health-btrfs.service - state: reloaded enabled: yes daemon_reload: yes - name: "restart health-btrfs.timer" diff --git a/roles/health-disc-space/handlers/main.yml b/roles/health-disc-space/handlers/main.yml index 33a5a482..dab3031d 100644 --- a/roles/health-disc-space/handlers/main.yml +++ b/roles/health-disc-space/handlers/main.yml @@ -1,7 +1,6 @@ - name: "reload health-disc-space.service" systemd: name: health-disc-space.service - state: reloaded enabled: yes daemon_reload: yes - name: "restart health-disc-space.timer" diff --git a/roles/health-docker/handlers/main.yml b/roles/health-docker/handlers/main.yml index 563e3c93..0bb7286f 100644 --- a/roles/health-docker/handlers/main.yml +++ b/roles/health-docker/handlers/main.yml @@ -1,7 +1,6 @@ - name: "reload health-docker.service" systemd: name: health-docker.service - state: reloaded enabled: yes daemon_reload: yes - name: "restart health-docker.timer" diff --git a/roles/health-journalctl/handlers/main.yml b/roles/health-journalctl/handlers/main.yml index 5655ff79..a1e35fb3 100644 --- a/roles/health-journalctl/handlers/main.yml +++ b/roles/health-journalctl/handlers/main.yml @@ -1,7 +1,6 @@ - name: "reload health-journalctl.service" systemd: name: health-journalctl.service - state: reloaded enabled: yes daemon_reload: yes - name: "restart health-journalctl.timer"