<commit_before>from fabric.api import env, run
env.hosts = [
{% for host in groups['nodes'] %}
  {% if hostvars[host]['docker_containers'] is defined %}
"{{ host }}",
  {% endif %}
{% endfor %}
]

env.key_filename="./id_rsa"
env.use_ssh_config = True
env.ssh_config_path = './ssh-config'

def pingtest():
    run('ping -c 3 www.yahoo.com')

def uptime():
    run('uptime')

def ansible-setup-ubuntu():
    run('sudo apt-get -y install openssh-clients')

def ansible-setup-centos():
    run('sudo yum -y install openssh-clients')<commit_msg>Fixes for our current images<commit_after>from fabric.api import env, run
env.hosts = [
{% for host in groups['nodes'] %}
  {% if hostvars[host]['docker_containers'] is defined %}
"{{ host }}",
  {% endif %}
{% endfor %}
]

env.key_filename="./id_rsa"
env.use_ssh_config = True
env.ssh_config_path = './ssh-config'

def pingtest():
    run('ping -c 3 www.yahoo.com')

def uptime():
    run('uptime')

def setup_ubuntu():
    run('apt-get update; apt-get -y install openssh-client python')

def setup_centos_or_fedora21():
    run('yum -y install openssh-clients')

def setup_fedora22():
    run('dnf -y install openssh-clients')
{'fraction_non_alphanumeric': 0.1720890410958904, 'fraction_numerical': 0.005136986301369863, 'mean_word_length': 4.12719298245614, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '637338', 'n_tokens_mistral': 461, 'n_tokens_neox': 416, 'n_words': 100}