From 635fd73d1223ce9a023c74479a038f7dea1a8f3b Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Thu, 4 Feb 2016 22:55:49 +0000 Subject: [PATCH] Some non virthosts still have virbr interfaces. --- roles/base/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/base/tasks/main.yml b/roles/base/tasks/main.yml index b04c5a7d79..e68266f723 100644 --- a/roles/base/tasks/main.yml +++ b/roles/base/tasks/main.yml @@ -49,7 +49,7 @@ # - restart NetworkManager - reload NetworkManager-connections - apply interface-changes - when: (virthost is not defined) and (not item.startswith('tun')) and (hostvars[inventory_hostname]['ansible_' + item]['type'] == 'ether') and (ansible_distribution_major_version|int >=7) and hostvars[inventory_hostname]['ansible_' + item]['active'] + when: (virthost is not defined) and (not item.startswith('tun','virbr')) and (hostvars[inventory_hostname]['ansible_' + item]['type'] == 'ether') and (ansible_distribution_major_version|int >=7) and hostvars[inventory_hostname]['ansible_' + item]['active'] tags: - config - ifcfg