<commit_before>- name: Install system dependencies
  sudo: true
  apt:
    name: "{{ item }}"
    update_cache: yes
    state: present
  with_items:
    - git
    - python-dev
    - python-setuptools

- name: Install pip
  sudo: true
  easy_install:
    name: pip

- name: Get global requirements
  get_url:
    url: https://raw.githubusercontent.com/StackStorm/st2/master/requirements.txt
    dest: /tmp/requirements.txt
  register: global_requirements

- name: Install global requirements
  sudo: true
  pip:
    requirements: "{{ global_requirements.dest }}"

- name: Fetch release number
  get_url:
    url: "{{ download_server }}/releases/st2/{{ version }}/debs/{{ build }}/VERSION.txt"
    dest: /tmp/release
  register: release_request

- name: Read release number
  shell: cat {{ release_request.dest }}
  register: release

- name: Make temp directory
  file:
    path: /tmp/st2/{{ version }}/debs/{{ release.stdout }}
    state: directory

- name: Download packages
  get_url:
    url: "{{ download_server }}/releases/st2/{{ version }}/debs/{{ build }}/{{ item }}_{{ version }}-{{ release.stdout }}_amd64.deb"
    dest: /tmp/st2/{{ version }}/debs/{{ release.stdout }}/{{ item }}_{{ version }}-{{ release.stdout }}_amd64.deb
  with_items: packages
  register: package_files

- name: Install packages
  sudo: true
  apt:
    deb: "{{ item.dest }}"
  with_items: package_files.results

- name: Chown logs directory
  sudo: true
  file:
    path: /var/log/st2
    owner: "{{ user }}"
    group: "{{ group }}"
    recurse: yes
<commit_msg>Need to install python-config.oslo for openstack/keystone<commit_after>- name: Install system dependencies
  sudo: true
  apt:
    name: "{{ item }}"
    update_cache: yes
    state: present
  with_items:
    - git
    - python-dev
    - python-setuptools
    - python-oslo.config

- name: Install pip
  sudo: true
  easy_install:
    name: pip

- name: Get global requirements
  get_url:
    url: https://raw.githubusercontent.com/StackStorm/st2/master/requirements.txt
    dest: /tmp/requirements.txt
  register: global_requirements

- name: Install global requirements
  sudo: true
  pip:
    requirements: "{{ global_requirements.dest }}"

- name: Fetch release number
  get_url:
    url: "{{ download_server }}/releases/st2/{{ version }}/debs/{{ build }}/VERSION.txt"
    dest: /tmp/release
  register: release_request

- name: Read release number
  shell: cat {{ release_request.dest }}
  register: release

- name: Make temp directory
  file:
    path: /tmp/st2/{{ version }}/debs/{{ release.stdout }}
    state: directory

- name: Download packages
  get_url:
    url: "{{ download_server }}/releases/st2/{{ version }}/debs/{{ build }}/{{ item }}_{{ version }}-{{ release.stdout }}_amd64.deb"
    dest: /tmp/st2/{{ version }}/debs/{{ release.stdout }}/{{ item }}_{{ version }}-{{ release.stdout }}_amd64.deb
  with_items: packages
  register: package_files

- name: Install packages
  sudo: true
  apt:
    deb: "{{ item.dest }}"
  with_items: package_files.results

- name: Chown logs directory
  sudo: true
  file:
    path: /var/log/st2
    owner: "{{ user }}"
    group: "{{ group }}"
    recurse: yes

{'fraction_non_alphanumeric': 0.14371636593858816, 'fraction_numerical': 0.006331117442228553, 'mean_word_length': 3.136125654450262, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5655555', 'n_tokens_mistral': 1077, 'n_tokens_neox': 1051, 'n_words': 276}