]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
testnode: Only bounce interface on Xenial 431/head
authorDavid Galloway <dgallowa@redhat.com>
Fri, 14 Dec 2018 20:28:51 +0000 (15:28 -0500)
committerDavid Galloway <dgallowa@redhat.com>
Fri, 14 Dec 2018 20:32:54 +0000 (15:32 -0500)
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>
roles/testnode/tasks/resolvconf.yml

index 940b6eb431709621b2d915cc5f0af087ff396a14..92b15f1d60b2639fbe9f5afc75f13a05d5bfeb41 100644 (file)
@@ -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: