<commit_before>---
# This role contains common plays that will run on all nodes.

- name: Raw bootstrap for python
  raw: yum -y install python libselinux-python

- name: Create the repository for EPEL
  copy: src=epel.repo dest=/etc/yum.repos.d/epel.repo

- name: Create the GPG key for EPEL
  copy: src=RPM-GPG-KEY-EPEL-6 dest=/etc/pki/rpm-gpg

- name: remove some useless packages
  yum: name={{ item }} state=absent
  with_items:
  - puppet
  - chef
  
- name: yum update all the things
  yum: name=* state=latest

- name: restart machine 
  command: shutdown -r now "Ansible updates triggered"
  async: 0
  poll: 0
  ignore_errors: true

- name: waiting for server to come back
  pause: seconds=30

- name: set up authorized keys for demo boxes
  authorized_key: user=vagrant key="{{ lookup('file', 'id_rsa.pub') }}"
    manage_dir=yes state=present 

- name: fix permissions
  shell: sudo chown -R vagrant.vagrant /home/vagrant

- name: add routes
  shell: sudo /sbin/route add default gw 192.168.250.254 eth1

- name: ifcfg-eth1 placement
  copy: src=ifcfg-eth1 dest=/etc/sysconfig/network-scripts/ifcfg-eth1 <commit_msg>wrong module<commit_after>---
# This role contains common plays that will run on all nodes.

- name: Raw bootstrap for python
  raw: yum -y install python libselinux-python

- name: Create the repository for EPEL
  copy: src=epel.repo dest=/etc/yum.repos.d/epel.repo

- name: Create the GPG key for EPEL
  copy: src=RPM-GPG-KEY-EPEL-6 dest=/etc/pki/rpm-gpg

- name: remove some useless packages
  yum: name={{ item }} state=absent
  with_items:
  - puppet
  - chef
  
- name: yum update all the things
  yum: name=* state=latest

- name: restart machine 
  command: shutdown -r now "Ansible updates triggered"
  async: 0
  poll: 0
  ignore_errors: true

- name: waiting for server to come back
  pause: seconds=30

- name: set up authorized keys for demo boxes
  authorized_key: user=vagrant key="{{ lookup('file', 'id_rsa.pub') }}"
    manage_dir=yes state=present 

- name: fix permissions
  shell: sudo chown -R vagrant.vagrant /home/vagrant

- name: add routes
  shell: sudo /sbin/route add default gw 192.168.250.254 eth1

{'fraction_non_alphanumeric': 0.10348027842227378, 'fraction_numerical': 0.018097447795823667, 'mean_word_length': 3.4453608247422682, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '213338', 'n_tokens_mistral': 793, 'n_tokens_neox': 742, 'n_words': 253}