Added nsswitch so that /etc/hosts file will work.

This commit is contained in:
Egon Rijpkema
2018-12-21 12:51:01 +01:00
parent 3bd13d018a
commit 7fc312e523
3 changed files with 11 additions and 2 deletions

View File

@ -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: