<commit_before>---
- name: Configure | MongoDB 
  lineinfile:
    state: present
    dest: /etc/mongod.conf
    regexp: '^#* *auth ?\='
    line: 'auth = true'
  when: mongodb_auth_enabled
  notify: Reload Service | mongodb
  tags:
    - configuration
    - precise-configuration
    - mongodb

- name: Configure | MongoDB  
  lineinfile:
    state: absent
    dest: /etc/mongod.conf
    regexp: '^#* *bind_ip'
  when: mongodb_accepts_external_connections
  notify: Reload Service | mongodb
  tags:
    - configuration
    - precise-configuration
    - mongodb
<commit_msg>added some names to mongodb configuration file<commit_after>---
- name: Configure | MongoDB | mongodb auth enabled
  lineinfile:
    state: present
    dest: /etc/mongod.conf
    regexp: '^#* *auth ?\='
    line: 'auth = true'
  when: mongodb_auth_enabled
  notify: Reload Service | mongodb
  tags:
    - configuration
    - precise-configuration
    - mongodb

- name: Configure | MongoDB | accepts external connections
  lineinfile:
    state: absent
    dest: /etc/mongod.conf
    regexp: '^#* *bind_ip'
  when: mongodb_accepts_external_connections
  notify: Reload Service | mongodb
  tags:
    - configuration
    - precise-configuration
    - mongodb

{'fraction_non_alphanumeric': 0.1008130081300813, 'fraction_numerical': 0.0, 'mean_word_length': 2.8955696202531644, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '5069041', 'n_tokens_mistral': 421, 'n_tokens_neox': 399, 'n_words': 100}