mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-06-14 22:36:09 +08:00
copr: restart node_exporter just in case the service file changed
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user