From 1c80c7277f10b754120b671a327052267676de3f Mon Sep 17 00:00:00 2001 From: Sonny Bakker Date: Thu, 26 Nov 2020 21:54:50 +0100 Subject: [PATCH] Disable reflector service This service is started through the weekly timer --- roles/arch/handlers/main.yml | 8 ++++++++ roles/arch/tasks/main.yml | 1 + 2 files changed, 9 insertions(+) diff --git a/roles/arch/handlers/main.yml b/roles/arch/handlers/main.yml index da4c440..127a2bd 100644 --- a/roles/arch/handlers/main.yml +++ b/roles/arch/handlers/main.yml @@ -13,3 +13,11 @@ state: restarted enabled: yes daemon-reload: yes + +# started by weekly timer +- name: disable reflector + become: yes + systemd: + name: reflector + state: stopped + enabled: no diff --git a/roles/arch/tasks/main.yml b/roles/arch/tasks/main.yml index 064bb9e..89875bf 100644 --- a/roles/arch/tasks/main.yml +++ b/roles/arch/tasks/main.yml @@ -34,6 +34,7 @@ owner: root group: root mode: "0600" + notify: disable reflector # TODO # - pacman setup depending on platform (see include section for common options)