<commit_before>---
- name: network interfaces file
  copy: content="{{ network_interfaces }}" dest=/etc/network/interfaces
        force=yes owner=root group=root mode=0644
  when: network_interfaces is defined
  tags: ['prereboot']

- name: add the interfaces
  copy: content="{{ item.contents }}"
        dest=/etc/network/interfaces.d/{{ item.filename }}
        force=yes owner=root group=root mode=0644
  when: network_interfaces_d is defined
  with_items: network_interfaces_d
  tags: ['prereboot']

- name: hosts file
  template: src=etc/hosts dest=/etc/hosts owner=root group=root mode=0644
            backup=yes
  tags: etc_hosts<commit_msg>Only install hosts file when etc_hosts defined<commit_after>---
- name: network interfaces file
  copy: content="{{ network_interfaces }}" dest=/etc/network/interfaces
        force=yes owner=root group=root mode=0644
  when: network_interfaces is defined
  tags: ['prereboot']

- name: add the interfaces
  copy: content="{{ item.contents }}"
        dest=/etc/network/interfaces.d/{{ item.filename }}
        force=yes owner=root group=root mode=0644
  when: network_interfaces_d is defined
  with_items: network_interfaces_d
  tags: ['prereboot']

- name: hosts file
  template: src=etc/hosts dest=/etc/hosts owner=root group=root mode=0644
            backup=yes
  when: etc_hosts is defined
  tags: etc_hosts
{'fraction_non_alphanumeric': 0.11217008797653959, 'fraction_numerical': 0.017595307917888565, 'mean_word_length': 3.927797833935018, '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': '5375225', 'n_tokens_mistral': 444, 'n_tokens_neox': 413, 'n_words': 113}