copr: move installation of node_exporter to copr base role

This commit is contained in:
Silvie Chlupova 2021-12-06 11:18:34 +01:00
parent 356dca4cc7
commit 22bf73ae9e
2 changed files with 8 additions and 2 deletions

View file

@ -49,6 +49,11 @@
tags:
- packages
- name: install node_exporter
dnf: state=latest pkg=golang-github-prometheus-node-exporter
tags:
- packages
- name: install dev helper packages
dnf:
state: present
@ -109,5 +114,8 @@
when: aws_ipv6_addr is defined
tags: ipv6_config
- name: start node exporter
service: state=started enabled=yes name=node_exporter
# - name: enable and run logrotate service
# service: name="logrotate" state=started

View file

@ -19,7 +19,6 @@
- rdiff-backup
- scl-utils-build
- tmpwatch
- golang-github-prometheus-node-exporter
- name: install latest dist-git and copr-dist-git
dnf:
@ -105,7 +104,6 @@
- "httpd"
- "dist-git.socket"
- "copr-dist-git"
- "node_exporter"
when: not services_disabled|bool
- name: create place for our custom SELinux policy