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