<commit_before>---
# This playbook configures newrelic monitoring service

- name: add newrelic repo key
  apt_key:
    url: https://download.newrelic.com/548C16BF.gpg
    id: 548C16BF
    state: present
  become: yes

- name: add newrelic repo
  apt_repository:
    repo: 'deb http://apt.newrelic.com/debian/ newrelic non-free'
    state: present
  become: yes

- name: install newrelic
  apt: pkg=newrelic-sysmond state=present update_cache=yes cache_valid_time=3600
  become: yes

- name: set license key
  shell: nrsysmond-config --set license_key={{newrelic_license_key}}
  become: yes

- name: stop newrelic if already running
  shell: /etc/init.d/newrelic-sysmond stop
  become: yes
  ignore_errors: yes

- name: start newrelic
  shell: /etc/init.d/newrelic-sysmond start
  become: yes<commit_msg>Add clarification on newrelic role<commit_after>---
# This playbook configures newrelic monitoring service

- name: add newrelic repo key
  apt_key:
    url: https://download.newrelic.com/548C16BF.gpg
    id: 548C16BF
    state: present
  become: yes

- name: add newrelic repo
  apt_repository:
    repo: 'deb http://apt.newrelic.com/debian/ newrelic non-free'
    state: present
  become: yes

- name: install newrelic
  apt: pkg=newrelic-sysmond state=present update_cache=yes cache_valid_time=3600
  become: yes

- name: set newrelic license key
  shell: nrsysmond-config --set license_key={{newrelic_license_key}}
  become: yes

- name: stop newrelic daemon if already running
  shell: /etc/init.d/newrelic-sysmond stop
  become: yes
  ignore_errors: yes

- name: start newrelic daemon
  shell: /etc/init.d/newrelic-sysmond start
  become: yes
{'fraction_non_alphanumeric': 0.09322033898305085, 'fraction_numerical': 0.01694915254237288, 'mean_word_length': 3.75, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6513857', 'n_tokens_mistral': 601, 'n_tokens_neox': 589, 'n_words': 158}