<commit_before>---
- set_fact:
    candidate:
      name: "{{ extension.key }}"
      version: "{{ extension.value }}"

- block:
    - stat: path=~/.sdkman/candidates/{{ candidate.name }}/{{ candidate.version }}
      register: path

    - name: install {{ candidate.name }}:{{ candidate.version }}
      command: bash -lc ". ~/.sdkman/bin/sdkman-init.sh && sdk install {{ candidate.name }} {{ candidate.version }}"
      when: not path.stat.exists

    - name: default to {{ candidate.name }}:{{ candidate.version }}
      command: bash -lc ". ~/.sdkman/bin/sdkman-init.sh && sdk default {{ candidate.name }} {{ candidate.version }}"
  become: true
  become_user: vagrant<commit_msg>Update sdkman_candidate.yml.ftl<commit_after>---
- set_fact:
    candidate:
      name: "{{ extension.key }}"
      version: "{{ extension.value }}"

- block:
    - stat: path=~/.sdkman/candidates/{{ candidate.name }}/{{ candidate.version }}
      register: path

    - name: install {{ candidate.name }}:{{ candidate.version }}
      command: bash -lc ". ~/.sdkman/bin/sdkman-init.sh && sdk install {{ candidate.name }} {{ candidate.version }}"
      when: not path.stat.exists

    - name: default to {{ candidate.name }}:{{ candidate.version }}
      command: bash -lc ". ~/.sdkman/bin/sdkman-init.sh && sdk default {{ candidate.name }} {{ candidate.version }}"
      when: path.stat.exists
  become: true
  become_user: vagrant

{'fraction_non_alphanumeric': 0.18149717514124294, 'fraction_numerical': 0.0, 'mean_word_length': 2.861035422343324, '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': '17745', 'n_tokens_mistral': 447, 'n_tokens_neox': 441, 'n_words': 94}