<commit_before>---

- name: create brian user
  sudo: yes
  user: name=brian state=present shell=/bin/bash

- name: Add keys for brian
  ignore_errors: yes
  sudo: yes
  raw: sudo -u brian -i ssh-import-id brianaker

- name: chown brian/.ssh/authorized_keys
  sudo: yes
  file: path=~brian/.ssh/authorized_keys owner=brian group=brian mode=0600

- name: copy in pythonrc
  sudo: yes
  copy: src=templates/pythonrc 
        dest="/home/brian/.pythonrc"
        owner="brian"
        mode=0600

- name: Install Sphinx
  sudo: yes
  pip: name=$item state=latest
        virtualenv=~/.python
  with_items:
    - Sphinx
    - sphinxcontrib-googleanalytics

- name: Reconfigure path for brian user to include pythonrc<commit_msg>Remove sudo hook for remote_user<commit_after>---

- name: create brian user
  sudo: yes
  user: name=brian state=present shell=/bin/bash

- name: Add keys for brian
  ignore_errors: yes
  remote_user: brian
  sudo: yes
  raw: ssh-import-id brianaker

- name: chown brian/.ssh/authorized_keys
  sudo: yes
  file: path=~brian/.ssh/authorized_keys owner=brian group=brian mode=0600

- name: copy in pythonrc
  sudo: yes
  copy: src=templates/pythonrc 
        dest="/home/brian/.pythonrc"
        owner="brian"
        mode=0600

- name: Install Sphinx
  sudo: yes
  pip: name=$item state=latest
        virtualenv=~/.python
  with_items:
    - Sphinx
    - sphinxcontrib-googleanalytics

- name: Reconfigure path for brian user to include pythonrc
{'fraction_non_alphanumeric': 0.0987066031313819, 'fraction_numerical': 0.010891763104152484, 'mean_word_length': 3.094707520891365, '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': '3195643', 'n_tokens_mistral': 534, 'n_tokens_neox': 499, 'n_words': 139}