<commit_before>---
# Restart Start all services.
- name: restart edxapp
  service: name=edxapp state=restarted
  tags:
  - lms
  - lms-xml
  - lms-preview
  - cms
  - deploy

# Ruby plays that need to be run after platform updates.
- name: gem | gem install bundler
  shell: RBENV_ROOT=${rbenv_root} GEM_HOME=${gem_home} ${rbenv_root}/shims/gem install bundle chdir=${platform_code_dir}
  tags:
  - ruby
  - deploy
  - install

- name: bundle | bundle install
  shell: RBENV_ROOT=${rbenv_root} GEM_HOME=${gem_home} ${gem_home}/bin/bundle install --binstubs chdir=${platform_code_dir}
  tags:
  - ruby
  - deploy
  - install

# Node play that need to be run after platform updates.
- name: Install edx-platform npm dependencies
  shell: npm install chdir=${platform_code_dir}
  tags:
  - npm
  - update

# Python plays that need to be run after platform updates.

# Install the python pre requirements into {{ venv_dir }}
- name : install python pre-requirements<commit_msg>Use Jinja syntax.<commit_after>---
# Restart Start all services.
- name: restart edxapp
  service: name=edxapp state=restarted
  tags:
  - lms
  - lms-xml
  - lms-preview
  - cms
  - deploy

# Ruby plays that need to be run after platform updates.
- name: gem | gem install bundler
  shell: RBENV_ROOT={{ rbenv_root }} GEM_HOME={{ gem_home }} {{ rbenv_root }}/shims/gem install bundle chdir={{ platform_code_dir }}
  tags:
  - ruby
  - deploy
  - install

- name: bundle | bundle install
  shell: RBENV_ROOT={{ rbenv_root }} GEM_HOME={{ gem_home }} {{ gem_home }}/bin/bundle install --binstubs chdir={{ platform_code_dir }}
  tags:
  - ruby
  - deploy
  - install

# Node play that need to be run after platform updates.
- name: Install edx-platform npm dependencies
  shell: npm install chdir={{ platform_code_dir }}
  tags:
  - npm
  - update

# Python plays that need to be run after platform updates.

# Install the python pre requirements into {{ venv_dir }}
- name : install python pre-requirements
{'fraction_non_alphanumeric': 0.10419828022255943, 'fraction_numerical': 0.0, 'mean_word_length': 3.475113122171946, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '2544608', 'n_tokens_mistral': 658, 'n_tokens_neox': 650, 'n_words': 212}