<commit_before>---
- hosts: jupyterhub_hosts
  tasks:
    - command: echo "$PATH"
      register: default_path

- hosts: jupyterhub_hosts
  roles:
    - common
    - python
    - { role: newrelic, when: newrelic_license_key is defined and newrelic_license_key != ''}
    - nginx
    - supervisor
    - saveusers
    - bash<commit_msg>Install Python 2.7 with Ansible on the remote machine<commit_after>---

# Make sure Python 2.7 is installed
- hosts: jupyterhub_hosts
  gather_facts: False
  tasks:
    - name: apt-get update
      raw: apt-get update -qq
    - name: Install python 2.7
      raw: apt-get install -qq python2.7

- hosts: jupyterhub_hosts
  tasks:
    - command: echo "$PATH"
      register: default_path

- hosts: jupyterhub_hosts
  roles:
    - common
    - python
    - { role: newrelic, when: newrelic_license_key is defined and newrelic_license_key != ''}
    - nginx
    - supervisor
    - saveusers
    - bash
{'fraction_non_alphanumeric': 0.0944206008583691, 'fraction_numerical': 0.008583690987124463, 'mean_word_length': 2.507518796992481, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '6661035', 'n_tokens_mistral': 333, 'n_tokens_neox': 319, 'n_words': 86}