<commit_before>#!/bin/bash

readonly SCRIPTDIR=$(readlink -m $(dirname $0))

main() {
  type ansible-playbook > /dev/null 2>&1 || {
    echo "Ansible not found. Aborting."
    exit 1
  }

  ansible-playbook $SCRIPTDIR/playbooks/workstation.yml
}

main<commit_msg>[ansible] Ask sudo pass<commit_after>#!/bin/bash

readonly SCRIPTDIR=$(readlink -m $(dirname $0))

main() {
  type ansible-playbook > /dev/null 2>&1 || {
    echo "Ansible not found. Aborting."
    exit 1
  }

  ansible-playbook $SCRIPTDIR/playbooks/workstation.yml --ask-sudo-pass
}

main
{'fraction_non_alphanumeric': 0.15217391304347827, 'fraction_numerical': 0.014492753623188406, 'mean_word_length': 3.5702479338842976, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '6143211', 'n_tokens_mistral': 229, 'n_tokens_neox': 209, 'n_words': 45}