mysqld - create /var/lib/prometheus dir
This commit is contained in:
parent
695100709b
commit
db2eae4abf
@ -42,6 +42,14 @@
|
|||||||
enabled: yes
|
enabled: yes
|
||||||
name: prometheus-mysqld-exporter.service
|
name: prometheus-mysqld-exporter.service
|
||||||
|
|
||||||
|
- name: 'prometheus | mysqld exporter | create configuration directory'
|
||||||
|
file:
|
||||||
|
path: /var/lib/prometheus
|
||||||
|
state: directory
|
||||||
|
mode: '0755'
|
||||||
|
tags:
|
||||||
|
- prometheus
|
||||||
|
|
||||||
- name: 'prometheus | mysqld exporter | configuration'
|
- name: 'prometheus | mysqld exporter | configuration'
|
||||||
copy:
|
copy:
|
||||||
dest: '/var/lib/prometheus/.my.cnf'
|
dest: '/var/lib/prometheus/.my.cnf'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user