openstack-ansible-os_neutron/templates/dnsmasq-neutron.conf.j2
Marcus Klein 2d53620286 Allow to set dnsmasq configuration options
This is useful to work around
https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/1974230 by setting
"no-negcache" into neutron_dhcp_config_list.

Change-Id: I1a0c1b5a125c72635efc89c9763aa41bfb503a3f
2022-11-23 15:19:59 +01:00

12 lines
274 B
Django/Jinja

# {{ ansible_managed }}
{% for key, value in neutron_dhcp_config.items() %}
{{ key }}={{ value }}
{% endfor %}
{% for option in neutron_dhcp_config_list %}
{{ option }}
{% endfor %}
user={{ neutron_system_user_name }}
{% if neutron_dnsmasq_noresolv %}
no-resolv
{% endif %}