<commit_before>---
# Playbook to set-up and configure local server

#Keep the role "configure_sphinx" commented unless you want to
#create indexes and start the search daemon (indexing takes 6-8 hours)

- hosts: all
  become: true
  gather_facts: yes
  roles:
  - common
  - common_debian
  - common_vagrant
  - setup_nginx
  - setup_php
  - setup_mysql
  - { role: update_code, become: false }
  - { role: setup_database, import_csv: 'no' }
  - install_sphinx
  - { role: configure_sphinx, sphinx_create_indexes: no }
  - { role: setup_nihongoparserd, force_install: no }
  - { role: setup_sinoparserd, force_install: no }
  - { role: setup_suggestd, force_install: no }
  - { role: setup_tatodetect, force_install: no }<commit_msg>Create indexes on machine provision<commit_after>---
# Playbook to set-up and configure local server

#Keep the role "configure_sphinx" commented unless you want to
#create indexes and start the search daemon (indexing takes 6-8 hours)

- hosts: all
  become: true
  gather_facts: yes
  roles:
  - common
  - common_debian
  - common_vagrant
  - setup_nginx
  - setup_php
  - setup_mysql
  - { role: update_code, become: false }
  - { role: setup_database, import_csv: 'no' }
  - install_sphinx
  - { role: configure_sphinx, sphinx_create_indexes: true }
  - { role: setup_nihongoparserd, force_install: no }
  - { role: setup_sinoparserd, force_install: no }
  - { role: setup_suggestd, force_install: no }
  - { role: setup_tatodetect, force_install: no }
{'fraction_non_alphanumeric': 0.0953020134228188, 'fraction_numerical': 0.0026845637583892616, 'mean_word_length': 3.7333333333333334, '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': '5727834', 'n_tokens_mistral': 530, 'n_tokens_neox': 516, 'n_words': 144}