<commit_before>---
- name: Update APT package cache
  apt: update_cache=yes
- name: Upgrade APT to the lastest packages
  apt: upgrade=safe
- name: Set locale
  command: /usr/sbin/update-locale LC_ALL=en_US.utf8<commit_msg>Reboot after packages have been upgraded.<commit_after>---
- name: Update APT package cache
  apt: update_cache=yes
- name: Upgrade APT to the lastest packages
  apt: upgrade=safe
- name: Set locale
  command: /usr/sbin/update-locale LC_ALL=en_US.utf8
- name: Rebooting machine so new kernel is active
  command: shutdown -r now removes=/var/run/reboot-required
  async: 0
  poll: 0
  ignore_errors: true
  register: restarted
- name: Waiting for reboot...
  local_action: wait_for host={{ ansible_ssh_host | default(inventory_hostname) }} search_regex=OpenSSH port={{ ansible_ssh_port }} delay=15 state=started
  sudo: no
  when: restarted.changed
{'fraction_non_alphanumeric': 0.09758897818599312, 'fraction_numerical': 0.006888633754305396, 'mean_word_length': 4.382716049382716, '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': '7125281', 'n_tokens_mistral': 297, 'n_tokens_neox': 285, 'n_words': 89}