Skip to content
Permalink
Browse files

[debops.dnsmasq] Fix 'lxd' configuration on Ubuntu

  • Loading branch information...
drybjed committed Sep 5, 2019
1 parent 0cc1bd6 commit 4b90b7d9ca85fb69c696c65b9e468168890a16b6
Showing with 18 additions and 0 deletions.
  1. +8 −0 CHANGELOG.rst
  2. +10 −0 ansible/roles/debops.dnsmasq/defaults/main.yml
@@ -89,6 +89,14 @@ Updates of upstream application versions
Fixed
~~~~~

:ref:`debops.dnsmasq` role
''''''''''''''''''''''''''

- On Ubuntu hosts, the role will fix the configuration installed by the
:command:`lxd` package to use ``bind-dynamic`` option instead of
``bind-interfaces``. This allows the :command:`dnsmasq` service to start
correctly.

:ref:`debops.nfs_server` role
'''''''''''''''''''''''''''''

@@ -276,6 +276,16 @@ dnsmasq__default_configuration:
(ansible_local.consul.installed|d())|bool)
else "init" }}'

- name: 'lxd-override'
filename: 'lxd'
comment: |
Tell any system-wide dnsmasq instance to make sure to bind to interfaces
instead of listening on 0.0.0.0
raw: |
bind-dynamic
except-interface = lxdbr0
state: '{{ "present" if (ansible_distribution == "Ubuntu") else "ignore" }}'

- name: 'reserved-domains.conf'
options:

0 comments on commit 4b90b7d

Please sign in to comment.
You can’t perform that action at this time.