<commit_before>---
- hosts: all
  become: yes
  tasks:
  - name: Update Apt Packages
    apt:
      update_cache: yes
#Node js specific settings
# installed from details in 
# https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-ubuntu-16-04

- hosts: app
  become: yes
  vars:
    folderpath: /home/ansible/nodesetup
  tasks:
  - name: Creating nodesetup directory
    path: "{{ folderpath }}"
    state: directory
    mode: 0755
  - name: Download node js package setup
    command: "curl -sL https://deb.nodesource.com/setup_8.x -o {{folderpath}}/nodesource_setup.sh"
  - name: Execute downloaded Shell Script
    command: "sudo bash {{folderpath}}/nodesource_setup.sh"
  - name: Install node js
    apt:
      name: nodejs
      state: present<commit_msg>corrected file module<commit_after>---
- hosts: all
  become: yes
  tasks:
  - name: Update Apt Packages
    apt:
      update_cache: yes
#Node js specific settings
# installed from details in 
# https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-ubuntu-16-04

- hosts: app
  become: yes
  vars:
    folderpath: /home/ansible/nodesetup
  tasks:
  - name: Creating nodesetup directory
    file:
      path: "{{ folderpath }}"
      state: directory
      mode: 0755
  - name: Download node js package setup
    command: "curl -sL https://deb.nodesource.com/setup_8.x -o {{folderpath}}/nodesource_setup.sh"
  - name: Execute downloaded Shell Script
    command: "sudo bash {{folderpath}}/nodesource_setup.sh"
  - name: Install node js
    apt:
      name: nodejs
      state: present
{'fraction_non_alphanumeric': 0.1128625472887768, 'fraction_numerical': 0.011349306431273645, 'mean_word_length': 2.987437185929648, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2329198', 'n_tokens_mistral': 551, 'n_tokens_neox': 516, 'n_words': 142}