copr: restart node_exporter just in case the service file changed
This commit is contained in:
parent
08a1187765
commit
7a88ef0429
3 changed files with 6 additions and 6 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue