<commit_before>  - name: Get release version from yum
    shell: "yum -q version nogroups 2>/dev/null | grep Installed | sed 's|Installed: ||' | sed 's|/.*$||'"
    register: release_version
  - name: Resolve release version URL, which could be a link, to a Fedora Project EPEL mirror.
    uri: url=http://download.fedoraproject.org/pub/epel/{{release_version.stdout}}
    register: resolved_mirror
    retries: 10
  - name: Add epel repository to yum.
    yum_repository:
      name: epel
      description: EPEL YUM repo
      baseurl: "{{resolved_mirror.url}}$basearch/"
    retries: 10
  - name: Install pip, which is needed to install docker-py.
    yum: name=python-pip disable_gpg_check=yes update_cache=yes
    register: pipinstallresult
    retries: 10
    until: pipinstallresult['rc'] is defined and pipinstallresult['rc'] == 0
  - debug: var=pipinstallresult
    when: pipinstallresult | failed

  - name: Install requests
    pip: name=requests version=2.12.1
    register: requestsinstallresult
    retries: 10
    until: requestsinstallresult['state'] == 'present'

  - name: Install docker-py, which is required by Ansible to use Docker modules.
    pip: name=docker-py version=1.9.0
    register: dockerpyinstallresult
    retries: 10
    until: dockerpyinstallresult['state'] == 'present'
<commit_msg>update docker-py version in playbooks<commit_after>  - name: Get release version from yum
    shell: "yum -q version nogroups 2>/dev/null | grep Installed | sed 's|Installed: ||' | sed 's|/.*$||'"
    register: release_version
  - name: Resolve release version URL, which could be a link, to a Fedora Project EPEL mirror.
    uri: url=http://download.fedoraproject.org/pub/epel/{{release_version.stdout}}
    register: resolved_mirror
    retries: 10
  - name: Add epel repository to yum.
    yum_repository:
      name: epel
      description: EPEL YUM repo
      baseurl: "{{resolved_mirror.url}}$basearch/"
    retries: 10
  - name: Install pip, which is needed to install docker-py.
    yum: name=python-pip disable_gpg_check=yes update_cache=yes
    register: pipinstallresult
    retries: 10
    until: pipinstallresult['rc'] is defined and pipinstallresult['rc'] == 0
  - debug: var=pipinstallresult
    when: pipinstallresult | failed

  - name: Install requests
    pip: name=requests version=2.12.1
    register: requestsinstallresult
    retries: 10
    until: requestsinstallresult['state'] == 'present'

  - name: Install docker-py, which is required by Ansible to use Docker modules.
    pip: name=docker-py version=1.10.6
    register: dockerpyinstallresult
    retries: 10
    until: dockerpyinstallresult['state'] == 'present'

{'fraction_non_alphanumeric': 0.10401802478407811, 'fraction_numerical': 0.01464513706346226, 'mean_word_length': 3.6089965397923875, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3016911', 'n_tokens_mistral': 868, 'n_tokens_neox': 817, 'n_words': 252}