<commit_before>---
- set_fact:
    python_version: "{{ outer_item }}"
    python_maj_min: "{{ '.'.join(outer_item.split('.')[0:2]) }}"

- name: checa versão instalada
  shell: >
    "/opt/python{{ python_maj_min }}/bin/python{{ python_maj_min }} -V 2>&1 | cut -d' ' -f2"
  register: python_register_version
  changed_when: False
  failed_when: False

- include: install.yml
  when: python_register_version.stdout != python_version or python_force_install is defined<commit_msg>previne contra remover diretório pai da instalação<commit_after>---
- set_fact:
    python_version: "{{ outer_item }}"
    python_maj_min: "{{ '.'.join(outer_item.split('.')[0:2]) }}"

- assert:
    that: '".." not in python_maj_min'

- name: checa versão instalada
  shell: >
    "/opt/python{{ python_maj_min }}/bin/python{{ python_maj_min }} -V 2>&1 | cut -d' ' -f2"
  register: python_register_version
  changed_when: False
  failed_when: False

- include: install.yml
  when: python_register_version.stdout != python_version or python_force_install is defined
{'fraction_non_alphanumeric': 0.148895292987512, 'fraction_numerical': 0.009606147934678195, 'mean_word_length': 4.21, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '6414459', 'n_tokens_mistral': 379, 'n_tokens_neox': 375, 'n_words': 80}