<commit_before>FROM python:2.7

WORKDIR /home/

RUN apt-get update && apt-get install -y \
    sshpass \
 && rm -rf /var/lib/apt/lists/*

ENV ANSIBLE_HOST_KEY_CHECKING=False

RUN pip install ansible

#Assuming that this file exists, it will mark our local ansible hosts file
# as the default for any ansible-playbook invocations
RUN mkdir -p /etc/ansible && ln -s /home/hosts /etc/ansible/hosts

ENTRYPOINT ["/bin/bash"]<commit_msg>Update the Dockerfile to use upstream ansible devel<commit_after>ARG PYTHON_VERSION=2.7
FROM python:${PYTHON_VERSION}

ARG ANSIBLE_BRANCH=origin/devel
ARG ANSIBLE_REPO=https://github.com/ansible/ansible

WORKDIR /home

RUN apt-get update && apt-get install -y \
    sshpass \
 && rm -rf /var/lib/apt/lists/*

ENV ANSIBLE_HOST_KEY_CHECKING=False

#RUN pip install ansible
RUN git clone ${ANSIBLE_REPO} --recursive /opt/ansible
RUN cd /opt/ansible && git checkout ${ANSIBLE_BRANCH}
RUN pip install --upgrade -r /opt/ansible/requirements.txt
RUN cd /opt/ansible && python /opt/ansible/setup.py install
#Assuming that this file exists, it will mark our local ansible hosts file
# as the default for any ansible-playbook invocations
RUN mkdir -p /etc/ansible && ln -s /home/hosts /etc/ansible/hosts
ENTRYPOINT ["/bin/bash"]
{'fraction_non_alphanumeric': 0.1056, 'fraction_numerical': 0.0032, 'mean_word_length': 4.064777327935222, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, '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': '5143661', 'n_tokens_mistral': 453, 'n_tokens_neox': 424, 'n_words': 136}