<commit_before># test file for ansible-apache
---
- hosts: localhost
  remote_user: root

  tasks:
  - name: ensure wget is installed (CentOs)
    yum:
      pkg: wget
      state: installed
    when: "ansible_os_family == 'RedHat'"

  - name: ensure wget is installed (Debian)
    apt:
      pkg: wget
      state: installed
    when: "ansible_os_family == 'Debian'"

  roles:
    - ansible-apache<commit_msg>try to fix ImportError: No module named yum<commit_after># test file for ansible-apache
---
- hosts: localhost
  remote_user: root

  tasks:
  - name: ensure wget is installed (CentOs)
    yum:
      pkg: wget
      state: installed
    when: "ansible_os_family == 'RedHat' and ansible_distribution != 'Fedora'"


  tasks:
  - name: ensure wget is installed (Fedora < 22)
    yum:
      pkg: wget
      state: installed
    when: "ansible_distribution == 'Fedora' and ansible_distribution_major_version|int < 22"


- name: ensure wget is installed (Fedora >= 22)
  shell: dnf install wget -y
  when: "ansible_distribution == 'Fedora' and ansible_distribution_major_version|int >= 22"


  - name: ensure wget is installed (Debian)
    apt:
      pkg: wget
      state: installed
    when: "ansible_os_family == 'Debian'"

  roles:
    - ansible-apache
{'fraction_non_alphanumeric': 0.1007936507936508, 'fraction_numerical': 0.006349206349206349, 'mean_word_length': 2.9779179810725553, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '3461311', 'n_tokens_mistral': 453, 'n_tokens_neox': 415, 'n_words': 126}