exporters reorganization
This commit is contained in:
14
tasks/exporter/services/phpfpm.yml
Normal file
14
tasks/exporter/services/phpfpm.yml
Normal file
@ -0,0 +1,14 @@
|
||||
---
|
||||
- include_tasks: ../common.yml
|
||||
tags: ['prometheus_phpfpm_exporter']
|
||||
|
||||
- name: 'phpfpm exporter | install startup script'
|
||||
template:
|
||||
src: scripts/prometheus-phpfpm-exporter-script.sh.j2
|
||||
dest: /usr/local/bin/prometheus-phpfpm-exporter-script.sh
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0600
|
||||
notify:
|
||||
- 'phpfpm-exporter-restart'
|
||||
tags: ['prometheus_phpfpm_exporter']
|
Reference in New Issue
Block a user