<commit_before> Use this task when there are dns problems
- name: set google public DNS
  lineinfile: dest=/etc/resolv.conf regexp=^nameserver line=nameserver 8.8.8.8
  
- name: Install prerequisite packages (RedHat)
  yum: name={{ item }} state=present
  with_items: 
    - python-simplejson
    - libselinux-python
    - iptables
    - mlocate
    - initscripts
    - chkconfig
    - system-config-services
    - openssh-clients
  tags:
    - bootstrap
  when: ansible_os_family=="RedHat"
- name: Install some useful packages (RedHat)
  yum: name={{ item }} state=present
  with_items:
    - vim-minimal
  tags:
    - bootstrap
  ignore_errors: yes
  when: ansible_os_family=="RedHat"

- name: Install prerequisite packages (Debian)
  apt: name={{ item }} state=present
  with_items: 
    - python-simplejson
    - iptables
    - iptables-persistent
    - mlocate
    - initscripts
    - chkconfig
    - openssh-client
  tags:
    - bootstrap
  when: ansible_os_family=="Debian"
- name: Install some useful packages (Debian)
  apt: name={{ item }} state=present
  with_items:<commit_msg>Minor change to the prerequisites needed for debian-based hosts closes #44<commit_after>- name: Install prerequisite packages (RedHat)
  yum: name={{ item }} state=present
  with_items: 
    - python-simplejson
    - libselinux-python
    - iptables
    - mlocate
    - initscripts
    - chkconfig
    - system-config-services
    - openssh-clients
  tags:
    - bootstrap
  when: ansible_os_family=="RedHat"
- name: Install some useful packages (RedHat)
  yum: name={{ item }} state=present
  with_items:
    - vim-minimal
  tags:
    - bootstrap
  ignore_errors: yes
  when: ansible_os_family=="RedHat"

- name: Install prerequisite packages (Debian)
  apt: name={{ item }} state=present
  with_items: 
    - python-simplejson
    - iptables
    - iptables-persistent
    - mlocate
    - initscripts
    - openssh-client
  tags:
    - bootstrap
  when: ansible_os_family=="Debian"
  
- name: Install some useful packages (Debian)
  apt: name={{ item }} state=present
  with_items:
{'fraction_non_alphanumeric': 0.10140028971511347, 'fraction_numerical': 0.0028971511347175277, 'mean_word_length': 3.0, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, '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': '3392785', 'n_tokens_mistral': 727, 'n_tokens_neox': 700, 'n_words': 172}