Added nsswitch so that /etc/hosts file will work.
This commit is contained in:
@ -30,8 +30,13 @@
|
||||
- alerting.rules
|
||||
- targets.json
|
||||
|
||||
tags:
|
||||
- service-files
|
||||
- name: Install nsswitch see https://github.com/jumanjiman/docker-ssllabs-scan/blob/6d9f48c9ac4f1df3eebef3ab28e2dd44a9ba4998/scanner/etc/nsswitch.conf
|
||||
copy:
|
||||
src: templates/etc/nsswitch.conf
|
||||
dest: /srv/prometheus/etc/nsswitch.conf
|
||||
mode: 644
|
||||
owner: root
|
||||
group: root
|
||||
|
||||
- name: Install service files.
|
||||
template:
|
||||
|
Reference in New Issue
Block a user