copr: restart node_exporter just in case the service file changed

This commit is contained in:
Silvie Chlupova 2022-05-04 13:03:35 +02:00
parent 08a1187765
commit 7a88ef0429
3 changed files with 6 additions and 6 deletions

View file

@ -168,8 +168,8 @@
- name: start webserver
service: state=started enabled=yes name=lighttpd
- name: start node exporter
service: state=started enabled=yes name=node_exporter
- name: restart node exporter
service: state=restarted enabled=yes name=node_exporter
# setup dirs for the ansible execution off of provisioning
#- name: dirs from provision

View file

@ -114,8 +114,8 @@
when: aws_ipv6_addr is defined
tags: ipv6_config
- name: start node exporter
service: state=started enabled=yes name=node_exporter
- name: restart node exporter
service: state=restarted enabled=yes name=node_exporter
- name: install nrpe checks
template: src=copr_nrpe.cfg

View file

@ -185,8 +185,8 @@
export PGDATABASE=coprdb
dest: "{{ copr_fe_homedir }}/.bash_profile"
- name: start node exporter
service: state=started enabled=yes name=node_exporter
- name: restart node exporter
service: state=restarted enabled=yes name=node_exporter
- name: configure options in node exporter
lineinfile: