<commit_before>---
# Set up package repositories
# main.yml must have a when: ansible_distribution == 'Ubuntu' on including this

- name: Add PPA for webupd8 PPA for oracle java installers
  apt_repository: repo='ppa:webupd8team/java'

- name: Update APT repo information
  apt: update-cache=yes

- name: Marking oracle license as accepted
  shell: 'debconf shared/accepted-oracle-license-v1-1 select true | sudo debconf-set-selections'

- name: Marking oracle license as seen
  shell: 'debconf shared/accepted-oracle-license-v1-1 seen true | sudo debconf-set-selections'

- name: Install oracle-java{{ java_version }}-installer
  apt: pkg=oracle-java{{ java_version }}-installer state=latest install_recommends=no

- name: Setting java alternatives to oracle java
  shell: 'update-java-alternatives -s java-{{ java_version }}-oracle'
<commit_msg>error in the licence acceptance bit, corrected<commit_after>---
# Set up package repositories
# main.yml must have a when: ansible_distribution == 'Ubuntu' on including this

- name: Add PPA for webupd8 PPA for oracle java installers
  apt_repository: repo='ppa:webupd8team/java'

- name: Update APT repo information
  apt: update-cache=yes

- name: Marking oracle license as accepted
  shell: 'echo debconf shared/accepted-oracle-license-v1-1 select true | sudo debconf-set-selections'

- name: Marking oracle license as seen
  shell: 'echo debconf shared/accepted-oracle-license-v1-1 seen true | sudo debconf-set-selections'

- name: Install oracle-java{{ java_version }}-installer
  apt: pkg=oracle-java{{ java_version }}-installer state=latest install_recommends=no

- name: Setting java alternatives to oracle java
  shell: 'update-java-alternatives -s java-{{ java_version }}-oracle'

{'fraction_non_alphanumeric': 0.09844559585492228, 'fraction_numerical': 0.0069084628670120895, 'mean_word_length': 4.698360655737705, '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': '5013393', 'n_tokens_mistral': 569, 'n_tokens_neox': 525, 'n_words': 176}