the GNU units AUR package now ships its own currency update service

This commit is contained in:
Pig Monkey 2026-01-18 22:34:02 -08:00
parent 79800d9f64
commit 1abf8b988e
3 changed files with 1 additions and 21 deletions

View file

@ -1,4 +0,0 @@
---
- name: restart units_cur
service: name=units_cur.timer state=restarted
when: units.run_on == "all"

View file

@ -1,4 +1,3 @@
---
dependencies:
- { role: nmtrust }
- { role: systemd }

View file

@ -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 }}"