<commit_before>---
- name: 'clean yum cache'
  become: yes
  command: yum clean all
  tags:
    - java8
    
- name: 'get Oracle Java 8 with wget'
  become: yes
  command: 'wget -q --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/8u73-b02/jdk-8u73-linux-x64.rpm"'
  register: download
  args:
    creates: jdk-8u73-linux-x64.rpm
  tags:
    - java8

- name: 'install Oracle Java 8 with yum'
  become: yes
  command: yum -y localinstall jdk-8u73-linux-x64.rpm
  register: yuminstall
  changed_when: "'Complete' in yuminstall.stdout"
  tags:
    - java8

- name: 'fix JAVA_HOME'
  become: yes
  shell: echo export JAVA_HOME=/usr/java/jdk1.8.0_73 > /etc/profile.d/jre.sh
  tags:
    - java8
    
- name: 'fix permissions'
  become: yes
  file: dest=/etc/profile.d/jre.sh mode=0755
  tags:
  - java8<commit_msg>newline at eof<commit_after>---
- name: 'clean yum cache'
  become: yes
  command: yum clean all
  tags:
    - java8
    
- name: 'get Oracle Java 8 with wget'
  become: yes
  command: 'wget -q --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/8u73-b02/jdk-8u73-linux-x64.rpm"'
  register: download
  args:
    creates: jdk-8u73-linux-x64.rpm
  tags:
    - java8

- name: 'install Oracle Java 8 with yum'
  become: yes
  command: yum -y localinstall jdk-8u73-linux-x64.rpm
  register: yuminstall
  changed_when: "'Complete' in yuminstall.stdout"
  tags:
    - java8

- name: 'fix JAVA_HOME'
  become: yes
  shell: echo export JAVA_HOME=/usr/java/jdk1.8.0_73 > /etc/profile.d/jre.sh
  tags:
    - java8
    
- name: 'fix permissions'
  become: yes
  file: dest=/etc/profile.d/jre.sh mode=0755
  tags:
  - java8

{'fraction_non_alphanumeric': 0.13617021276595745, 'fraction_numerical': 0.04468085106382979, 'mean_word_length': 3.019230769230769, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '908267', 'n_tokens_mistral': 810, 'n_tokens_neox': 775, 'n_words': 167}