From 2f9df200ce95c6b43e6c6cf1aeecca57abfffa42 Mon Sep 17 00:00:00 2001 From: David Galloway Date: Fri, 14 Dec 2018 15:28:51 -0500 Subject: [PATCH] testnode: Only bounce interface on Xenial 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 --- roles/testnode/tasks/resolvconf.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/testnode/tasks/resolvconf.yml b/roles/testnode/tasks/resolvconf.yml index 940b6eb4..92b15f1d 100644 --- a/roles/testnode/tasks/resolvconf.yml +++ b/roles/testnode/tasks/resolvconf.yml @@ -47,7 +47,7 @@ # 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: -- 2.47.3