Role for dnsmasq_exporer installation and configuration.
- role: dnsmasq-exporter
Param | Default | Description |
---|---|---|
dnsmasq-exporter_setup |
full |
Setup mode. See OSSHelp KB article |
dnsmasq_exporter_version |
0.2.0 |
Which version to install (taken from our MinIO storage) |
dnsmasq_exporter_params.address |
lxdbr0 ipv4 port 53 if interface exists else localhost:53 |
Address dnsmasq is listening on. |
dnsmasq_exporter_params.leases_path |
/var/lib/lxd/networks/lxdbr0/dnsmasq.leases |
Absolute path to dnsmasq leases file. |
dnsmasq_exporter_params.listen |
0.0.0.0:9153 |
Address for exporter to listen on. |
Usually there is no need in changing these.
Param | Default | Description |
---|---|---|
dnsmasq_exporter_config_file |
dnsmasq_exporter.cfg |
Name that will be given to main configuration file. |
dnsmasq_exporter_user_name |
dnsmasq_exporter |
Name of user to be created for exporter. |
dnsmasq_exporter_service_name |
dnsmasq_exporter |
Name of systemd service to be created for exporter. |
dnsmasq_exporter_systemd_unit |
/etc/systemd/system/{{dnsmasq_exporter_service_name}}.service |
Absolute path to systemd unit. |
dnsmasq_exporter_dirs.binary_dir |
/usr/local/bin |
Absolute path to directory where exporter binary will be placed. |
dnsmasq_exporter_dirs.config_dir |
/usr/local/etc/dnsmasq_exporter |
Absolute path to to directory where exporter configuration file will be placed. |
None, so far.
- Add focal support.
- Change pinned default values in cfg. templates to variables.
GPL3
OSSHelp Team, see https://oss.help