Verified Commit 0f2dc3ad authored by Jelle van der Waa's avatar Jelle van der Waa 🚧
Browse files

Fix aur-textcollector installation

parent e7ba7b91
Pipeline #7304 passed with stage
in 52 seconds
......@@ -10,7 +10,7 @@ if (( $# != 1 )); then
fi
TEXTFILE_COLLECTOR_DIR=${1}
PROM_FILE=$TEXTFILE_COLLECTOR_DIR/pacman.prom
PROM_FILE=$TEXTFILE_COLLECTOR_DIR/aur.prom
TMP_FILE=$PROM_FILE.$$
[ -e $TMP_FILE ] && rm -f $TMP_FILE
......
......@@ -136,8 +136,12 @@
systemd: name=prometheus-btrfs-textcollector.timer enabled=yes daemon_reload=yes state=started
when: filesystem == "btrfs"
- name: install aur textcollector service
template: src=prometheus-aur-textcollector.service.j2 dest=/etc/systemd/system/prometheus-aur-textcollector.service owner=root group=root mode=644
when: "'prometheus' in group_names"
- name: install aur textcollector timer
template: src=prometheus-aur-textcollector.timer.j2 dest=/etc/systemd/system/prometheus-btrfs-textcollector.timer owner=root group=root mode=644
template: src=prometheus-aur-textcollector.timer.j2 dest=/etc/systemd/system/prometheus-aur-textcollector.timer owner=root group=root mode=644
when: "'prometheus' in group_names"
- name: enable and start prometheus aur textcollector timer
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment