<commit_before>#!/bin/bash

# Install libffi-dev needed by Ansible 2.0
apt-get install -y libffi-dev

# Fix broken PIP, ignore if requests folder does not exist
mv /usr/local/lib/python2.7/dist-packages/requests /usr/local/lib/python2.7/dist-packages/requests.old/

# Upgrade Pip & Ansible
pip install --upgrade pip 
pip install --upgrade ansible==2.2.0

# Reboot device to execute the playbook with Ansible 2
shutdown -r now<commit_msg>libssl-dev is required by pycrypto for Ansible 2.2<commit_after>#!/bin/bash

# Install libffi-dev needed by Ansible 2.0
apt-get install -y libffi-dev libssl-dev

# Fix broken PIP, ignore if requests folder does not exist
mv /usr/local/lib/python2.7/dist-packages/requests /usr/local/lib/python2.7/dist-packages/requests.old/

# Upgrade Pip & Ansible
pip install --upgrade pip 
pip install --upgrade ansible==2.2.0

# Reboot device to execute the playbook with Ansible 2
shutdown -r now
{'fraction_non_alphanumeric': 0.10086767895878525, 'fraction_numerical': 0.02386117136659436, 'mean_word_length': 3.9095744680851063, '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': '2485299', 'n_tokens_mistral': 335, 'n_tokens_neox': 308, 'n_words': 101}