resolvconf isn't installed on Bionic by default so we don't need to
bounce the interface to work around the bug.
Fixes: https://tracker.ceph.com/issues/37614
Signed-off-by: David Galloway <dgallowa@redhat.com>
# https://bugs.launchpad.net/ubuntu/+source/resolvconf/+bug/1593489
when: bounce_interface == "True" or
(ansible_distribution|lower == 'ubuntu' and
- ansible_distribution_major_version|int >= 16)
+ ansible_distribution_major_version|int == 16)
- name: Ensure lab_domain is in search domains in /etc/resolv.conf
lineinfile: