This commit is contained in:
parent
6e376a72e3
commit
1908deee9c
4 changed files with 7 additions and 6 deletions
|
@ -24,6 +24,7 @@
|
||||||
file:
|
file:
|
||||||
path: /etc/prometheus/alerts
|
path: /etc/prometheus/alerts
|
||||||
state: directory
|
state: directory
|
||||||
|
mode: 0644
|
||||||
|
|
||||||
- name: Remove old files
|
- name: Remove old files
|
||||||
file:
|
file:
|
||||||
|
|
|
@ -35,5 +35,5 @@
|
||||||
systemd:
|
systemd:
|
||||||
name: prometheus-postgres-exporter
|
name: prometheus-postgres-exporter
|
||||||
enabled: true
|
enabled: true
|
||||||
daemon_reload: yes
|
daemon_reload: true
|
||||||
state: started
|
state: started
|
||||||
|
|
|
@ -129,7 +129,7 @@
|
||||||
name:
|
name:
|
||||||
- postgresql
|
- postgresql
|
||||||
- postgresql-client-11=11.7-0+deb10u1
|
- postgresql-client-11=11.7-0+deb10u1
|
||||||
force: yes
|
force: true
|
||||||
|
|
||||||
- name: Install postgresql ansible module requirement(s)
|
- name: Install postgresql ansible module requirement(s)
|
||||||
pip:
|
pip:
|
||||||
|
|
Loading…
Reference in a new issue