<commit_before>---
- name: Network interfaces
  hosts: localhost
  connection: local
  tasks:
  - name: Get all active network interfaces
    vars:
      acceptable_bond_modes: ['active-backup','balance-xor','broadcast','802.3adq']
    set_fact:
      otopi_net_host="{{ item }}"
      type="{{ hostvars[inventory_hostname]['ansible_' + item]['type'] }}"
      bond_valid_name="{{ item | regex_search('(^bond[0-9]+)') }}"
    when: (
        (
          item != 'lo'
        ) and (
          hostvars[inventory_hostname]['ansible_' + item]['active']
        ) and (
          hostvars[inventory_hostname]['ansible_' + item]['type'] != 'bridge'
        ) and (<commit_msg>ansible: Get only active network interfaces for setting ovirtmgmt bridge<commit_after>---
- name: Network interfaces
  hosts: localhost
  connection: local
  tasks:
  - name: Get all active network interfaces
    vars:
      acceptable_bond_modes: ['active-backup','balance-xor','broadcast','802.3adq']
    set_fact:
      otopi_net_host="{{ item }}"
      type="{{ hostvars[inventory_hostname]['ansible_' + item]['type'] }}"
      bond_valid_name="{{ item | regex_search('(^bond[0-9]+)') }}"
    when: (
        (
          item != 'lo'
        ) and (
          hostvars[inventory_hostname]['ansible_' + item]['active']
        ) and (
          hostvars[inventory_hostname]['ansible_' + item]['type'] != 'bridge'
        ) and (
          hostvars[inventory_hostname]['ansible_' + item]['active'] == true
        ) and (
{'fraction_non_alphanumeric': 0.1645484949832776, 'fraction_numerical': 0.008026755852842809, 'mean_word_length': 2.9576719576719577, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3090720', 'n_tokens_mistral': 478, 'n_tokens_neox': 464, 'n_words': 89}