<commit_before>---

- name: Add RabbitMQ APT key
  apt_key:
    url: "https://www.rabbitmq.com/rabbitmq-release-signing-key.asc"
    state: present
  become: true
  tags:
    - system-packages

- name: Add RabbitMQ APT repository
  apt_repository:
    repo: "deb http://www.rabbitmq.com/debian/ testing main"
    state: present
    filename: rabbitmq
    update_cache: yes
  become: true
  tags:
    - system-packages

# Solr 6+ requires Java 8 which is unavailable before 16.04
- name: Add Java 8 APT repository
  apt_repository:
    repo: "ppa:openjdk-r/ppa"
    update_cache: yes
  when: ansible_lsb.major_release|int < 16
  become: true
  tags:
    - system-packages

# We require at least Python 3.5 (14.04 only has 3.4 which doesn't work with newest Pip)
- name: Add Python 3.x APT repository
  apt_repository:
    repo: "ppa:fkrull/deadsnakes"
    update_cache: yes
  when: ansible_lsb.major_release|int < 16
  become: true
  tags:
    - system-packages

- name: Install system packages
  apt:
    name: "{{item}}"
    state: present
  with_items:
    - curl
    - build-essential
    - cpanminus
    - curl
    - expat
    - g++
    - gawk
    - gcc
    - graphviz
    - graphviz-dev
    - graphviz-doc
    - hunspell
    - libdb-dev
    - libexpat1-dev
    - libgraphviz-dev
    - libtidy-dev
    - libxml2-dev
    - libxml2-dev
    - libxslt1-dbg
    - libxslt1-dev
    - libxslt1.1
    - libyaml-dev
    - logrotate
    - make
    - netcat
    - openjdk-8-jdk
    - python-pip
    - python2.7
    - python2.7-dev
    - "python{{ python_version }}"
    - "python{{ python_version }}-dev"
    - rabbitmq-server
    - unzip
  become: true
  tags:
    - system-packages
<commit_msg>Don't install Graphviz docs and BerkeleyDB headers<commit_after>---

- name: Add RabbitMQ APT key
  apt_key:
    url: "https://www.rabbitmq.com/rabbitmq-release-signing-key.asc"
    state: present
  become: true
  tags:
    - system-packages

- name: Add RabbitMQ APT repository
  apt_repository:
    repo: "deb http://www.rabbitmq.com/debian/ testing main"
    state: present
    filename: rabbitmq
    update_cache: yes
  become: true
  tags:
    - system-packages

# Solr 6+ requires Java 8 which is unavailable before 16.04
- name: Add Java 8 APT repository
  apt_repository:
    repo: "ppa:openjdk-r/ppa"
    update_cache: yes
  when: ansible_lsb.major_release|int < 16
  become: true
  tags:
    - system-packages

# We require at least Python 3.5 (14.04 only has 3.4 which doesn't work with newest Pip)
- name: Add Python 3.x APT repository
  apt_repository:
    repo: "ppa:fkrull/deadsnakes"
    update_cache: yes
  when: ansible_lsb.major_release|int < 16
  become: true
  tags:
    - system-packages

- name: Install system packages
  apt:
    name: "{{item}}"
    state: present
  with_items:
    - curl
    - build-essential
    - cpanminus
    - curl
    - expat
    - g++
    - gawk
    - gcc
    - graphviz
    - graphviz-dev
    - hunspell
    - libexpat1-dev
    - libgraphviz-dev
    - libtidy-dev
    - libxml2-dev
    - libxml2-dev
    - libxslt1-dbg
    - libxslt1-dev
    - libxslt1.1
    - libyaml-dev
    - logrotate
    - make
    - netcat
    - openjdk-8-jdk
    - python-pip
    - python2.7
    - python2.7-dev
    - "python{{ python_version }}"
    - "python{{ python_version }}-dev"
    - rabbitmq-server
    - unzip
  become: true
  tags:
    - system-packages

{'fraction_non_alphanumeric': 0.10384615384615385, 'fraction_numerical': 0.01893491124260355, 'mean_word_length': 2.1926345609065154, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 4, 'xml': 4}, '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': '2135682', 'n_tokens_mistral': 1292, 'n_tokens_neox': 1229, 'n_words': 300}