<commit_before>---

- name: import ppa:webupd8team/java gpg key
  apt_key: >
    id=EEA14886
    keyserver=keyserver.ubuntu.com
    state=present

- name: add ppa:webupd8team/java repository
  apt_repository: >
    repo="deb http://ppa.launchpad.net/webupd8team/java/ubuntu precise main"
    state=present
    update_cache=yes

- name: accept oracle license
  shell: >
    echo "oracle-java7-installer shared/accepted-oracle-license-v1-1 select true" | debconf-set-selections

- name: install java
  apt: >
    force=yes
    name={{ item }}
    state=present
    update_cache=no
  with_items:
    - oracle-java7-installer
    - oracle-java7-set-default

- name: import elasticsearch gpg key
  apt_key: >
    id=D88E42B4
    keyserver=pgp.mit.edu
    state=present
<commit_msg>Use url instead of keyserver to import ES repo gpg key<commit_after>---

- name: import ppa:webupd8team/java gpg key
  apt_key: >
    id=EEA14886
    keyserver=keyserver.ubuntu.com
    state=present

- name: add ppa:webupd8team/java repository
  apt_repository: >
    repo="deb http://ppa.launchpad.net/webupd8team/java/ubuntu precise main"
    state=present
    update_cache=yes

- name: accept oracle license
  shell: >
    echo "oracle-java7-installer shared/accepted-oracle-license-v1-1 select true" | debconf-set-selections

- name: install java
  apt: >
    force=yes
    name={{ item }}
    state=present
    update_cache=no
  with_items:
    - oracle-java7-installer
    - oracle-java7-set-default

- name: import elasticsearch gpg key
  apt_key: >
    id=D88E42B4
    url=https://packages.elasticsearch.org/GPG-KEY-elasticsearch
    state=present

{'fraction_non_alphanumeric': 0.10294117647058823, 'fraction_numerical': 0.022058823529411766, 'mean_word_length': 3.2305699481865284, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 13, 'https://': 1, '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': '401039', 'n_tokens_mistral': 606, 'n_tokens_neox': 573, 'n_words': 116}