mirror of
https://gitlab.com/s3lph/ansible-collection-prometheus
synced 2024-11-23 02:01:10 +01:00
Add a missing directory
This commit is contained in:
parent
d16f1cb060
commit
eab460a50d
1 changed files with 8 additions and 0 deletions
|
@ -6,6 +6,14 @@
|
|||
- prometheus
|
||||
- prometheus-blackbox-exporter
|
||||
|
||||
- name: create blackbox exporter override.d
|
||||
ansible.builtin.file:
|
||||
path: /etc/systemd/system/prometheus-blackbox-exporter.service.d
|
||||
state: directory
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0755
|
||||
|
||||
- name: enable cap_net_raw for blackbox exporter
|
||||
ansible.builtin.template:
|
||||
src: etc/systemd/system/prometheus-blackbox-exporter.service.d/override.conf.j2
|
||||
|
|
Loading…
Reference in a new issue