<commit_before>---

# Setup basic repositories and install basic packages.

# Prepare yum repositories
- yum:
    name={{item}}
    state=present
  with_items:
    - "https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm"
  when: distro == "rhel7"

- yum:
    name={{item}}
    state=present
  with_items:
    - "https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm"
  when: distro == "centos7"

- name: update caches
  yum: update_cache=yes

# Install generic packages and tools we need to have everywhere.
- yum:
    pkg={{item}}
    state=present
  with_items:
    - screen
    - git
    - wget
    - unzip
    - iftop
    - make
    - ntp
    - gcc
    - python-yaml
    - MySQL-python
    - postfix
    - net-tools
    - patch
    - ncurses-term
    - vim
    - htop
    - iotop
    - sudo
    - yum-security
    - mailx

- name: Update the system on first run
  yum: name=* state=latest
  when: first_run is defined
<commit_msg>Fix update_cache.<commit_after>---

# Setup basic repositories and install basic packages.

# Prepare yum repositories
- yum:
    name={{item}}
    state=present
  with_items:
    - "https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm"
  when: distro == "rhel7"

- yum:
    name={{item}}
    state=present
  with_items:
    - "https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm"
  when: distro == "centos7"

# Install generic packages and tools we need to have everywhere.
- yum:
    pkg={{item}}
    state=present
  with_items:
    - screen
    - git
    - wget
    - unzip
    - iftop
    - make
    - ntp
    - gcc
    - python-yaml
    - MySQL-python
    - postfix
    - net-tools
    - patch
    - ncurses-term
    - vim
    - htop
    - iotop
    - sudo
    - yum-security
    - mailx

- name: Update the system on first run
  yum: name=* state=latest update_cache=yes
  when: first_run is defined

{'fraction_non_alphanumeric': 0.1202928870292887, 'fraction_numerical': 0.0041841004184100415, 'mean_word_length': 2.1463815789473686, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '799290', 'n_tokens_mistral': 723, 'n_tokens_neox': 708, 'n_words': 157}