copr: move installation of node_exporter to copr base role
This commit is contained in:
parent
356dca4cc7
commit
22bf73ae9e
2 changed files with 8 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue