Exclude Stretch from node config
This commit is contained in:
parent
c53d62712f
commit
b6573e68ae
1 changed files with 3 additions and 0 deletions
|
@ -7,7 +7,10 @@
|
||||||
retries: 3
|
retries: 3
|
||||||
until: apt_result is succeeded
|
until: apt_result is succeeded
|
||||||
|
|
||||||
|
# Doesn't work on Debian Stretch
|
||||||
- name: Make Prometheus node-exporter listen on adm only
|
- name: Make Prometheus node-exporter listen on adm only
|
||||||
|
when:
|
||||||
|
- ansible_distribution_release != 'stretch'
|
||||||
lineinfile:
|
lineinfile:
|
||||||
path: /etc/default/prometheus-node-exporter
|
path: /etc/default/prometheus-node-exporter
|
||||||
regexp: '^ARGS='
|
regexp: '^ARGS='
|
||||||
|
|
Loading…
Reference in a new issue