From 1abf8b988e478afc2ea51f6a130b7676f1ac6047 Mon Sep 17 00:00:00 2001 From: Pig Monkey Date: Sun, 18 Jan 2026 22:34:02 -0800 Subject: [PATCH] the GNU units AUR package now ships its own currency update service --- roles/units/handlers/main.yml | 4 ---- roles/units/meta/main.yml | 1 - roles/units/tasks/main.yml | 17 +---------------- 3 files changed, 1 insertion(+), 21 deletions(-) delete mode 100644 roles/units/handlers/main.yml diff --git a/roles/units/handlers/main.yml b/roles/units/handlers/main.yml deleted file mode 100644 index 9bfdb2f..0000000 --- a/roles/units/handlers/main.yml +++ /dev/null @@ -1,4 +0,0 @@ ---- -- name: restart units_cur - service: name=units_cur.timer state=restarted - when: units.run_on == "all" diff --git a/roles/units/meta/main.yml b/roles/units/meta/main.yml index 6b0addd..49c0cc6 100644 --- a/roles/units/meta/main.yml +++ b/roles/units/meta/main.yml @@ -1,4 +1,3 @@ --- dependencies: - { role: nmtrust } - - { role: systemd } diff --git a/roles/units/tasks/main.yml b/roles/units/tasks/main.yml index 1dcad76..a6eaaed 100644 --- a/roles/units/tasks/main.yml +++ b/roles/units/tasks/main.yml @@ -9,22 +9,7 @@ tags: - aur -- name: Push GNU Units currency update service file - template: - src: units_cur.service.j2 - dest: /etc/systemd/system/units_cur.service - notify: - - reload systemd config - -- name: Push GNU Units currency update timer file - template: - src: units_cur.timer.j2 - dest: /etc/systemd/system/units_cur.timer - notify: - - reload systemd config - - restart units_cur - - include_tasks: roles/nmtrust/tasks/unit.yml vars: - unit: units_cur.timer + unit: units_currency.timer run_on: "{{ units.run_on }}"