<commit_before>- name: Check Install bundle
  shell: source /etc/profile; gem list | awk '/^bundler/{print $1}'
  shell: |
  register: result
  changed_when: result.stdout.find('bundler') != 0

- name: Install RubyGems Bundle
  shell: source /etc/profile; gem install bundle --no-ri --no-rdoc
  when: result.stdout.find('bundler') != 0

#- debug: msg="{{ result }}"<commit_msg>bundleのリファクタリング<commit_after>- name: Check Install bundle
  shell: source /etc/profile; gem list | awk '/^bundler/{print $1}'
  register: result
  changed_when: result.stdout.find('bundler') != 0

- name: Install RubyGems Bundle
  shell: source /etc/profile; gem install bundle --no-ri --no-rdoc
  when: result.stdout.find('bundler') != 0

#- debug: msg="{{ result }}"
{'fraction_non_alphanumeric': 0.1610738255033557, 'fraction_numerical': 0.008053691275167786, 'mean_word_length': 4.006711409395973, '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': '1996860', 'n_tokens_mistral': 255, 'n_tokens_neox': 246, 'n_words': 73}