mirror of
https://github.com/pigmonkey/spark.git
synced 2026-01-22 18:14:16 +00:00
the GNU units AUR package now ships its own currency update service
This commit is contained in:
parent
79800d9f64
commit
1abf8b988e
3 changed files with 1 additions and 21 deletions
|
|
@ -1,4 +0,0 @@
|
|||
---
|
||||
- name: restart units_cur
|
||||
service: name=units_cur.timer state=restarted
|
||||
when: units.run_on == "all"
|
||||
|
|
@ -1,4 +1,3 @@
|
|||
---
|
||||
dependencies:
|
||||
- { role: nmtrust }
|
||||
- { role: systemd }
|
||||
|
|
|
|||
|
|
@ -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 }}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue