<commit_before>#!/usr/bin/env bash
# sbt assembly
scp target/scala-2.12/temperature-machine-2.1.jar <EMAIL>:/home/pi/code/temperature-machine/target/scala-2.12
scp target/scala-2.12/temperature-machine-2.1.jar <EMAIL>:/home/pi/code/temperature-machine/target/scala-2.12
scp target/scala-2.12/temperature-machine-2.1.jar <EMAIL>:/home/pi/code/temperature-machine/target/scala-2.12
scp target/scala-2.12/temperature-machine-2.1.jar <EMAIL>:/home/pi/code/temperature-machine/target/scala-2.12<commit_msg>update copy/deploy task to use ansible<commit_after>#!/usr/bin/env bash

# assumes you have Ansible setup and a 'ansible/inventory' file setup with machines grouped under 'temperatures'. See http://temperature-machine.com/docs/ansible.html

sbt assembly && ansible -i ansible/inventory temperatures -m copy -a "src=target/scala-2.12/temperature-machine-2.1.jar dest=/home/pi/code/temperature-machine/target/scala-2.12" -u pi
{'fraction_non_alphanumeric': 0.15243243243243243, 'fraction_numerical': 0.043243243243243246, 'mean_word_length': 4.680981595092025, 'pattern_counts': {'":': 0, '<': 7, '<?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': '4567363', 'n_tokens_mistral': 361, 'n_tokens_neox': 321, 'n_words': 52}