<commit_before>- name: ensure directories
  action: file state=directory path={{item}} owner={{user_name}} group={{group_name}}
  with_items:
    - "{{deploy_root}}"
    - "{{deploy_root}}/conf.d"
- include: redis.yml
- include: nginx.yml
- include: haproxy.yml
- include: virtualenv.yml
- include: configuration.yml
- name: ensure uwsgi is installed
  shell: "{{deploy_root}}/virtualenv/bin/easy_install -U uwsgi creates={{deploy_root}}/virtualenv/bin/uwsgi"
- name: copy source
  copy: src=../src_pkg.tar dest={{webapp_archive_location}}
  register: sources
  notify: reload nginx config
- include: install_sources.yml
  when: sources.changed or configuration.changed
- name: configure supervisor
  action: template src=../templates/supervisor_uwsgi.j2 dest=/etc/supervisor/conf.d/{{app_name}}-wsgi.conf
  register: supervisor_conf
  notify: restart supervisor
- name: vacuum cron job
  cron: name="Vacuum unused mailboxes" minute="*/5" job="curl -X POST http://127.0.0.1/api/v2/vacuum 2>&1 | logger"
<commit_msg>Fix vacuuming cron job<commit_after>- name: ensure directories
  action: file state=directory path={{item}} owner={{user_name}} group={{group_name}}
  with_items:
    - "{{deploy_root}}"
    - "{{deploy_root}}/conf.d"
- include: redis.yml
- include: nginx.yml
- include: haproxy.yml
- include: virtualenv.yml
- include: configuration.yml
- name: ensure uwsgi is installed
  shell: "{{deploy_root}}/virtualenv/bin/easy_install -U uwsgi creates={{deploy_root}}/virtualenv/bin/uwsgi"
- name: copy source
  copy: src=../src_pkg.tar dest={{webapp_archive_location}}
  register: sources
  notify: reload nginx config
- include: install_sources.yml
  when: sources.changed or configuration.changed
- name: configure supervisor
  action: template src=../templates/supervisor_uwsgi.j2 dest=/etc/supervisor/conf.d/{{app_name}}-wsgi.conf
  register: supervisor_conf
  notify: restart supervisor
- name: vacuum cron job
  cron: name="Vacuum unused mailboxes" minute="*/5" job="curl -X POST http://127.0.0.1/v2/vacuum 2>&1 | logger"

{'fraction_non_alphanumeric': 0.142997542997543, 'fraction_numerical': 0.010810810810810811, 'mean_word_length': 4.703081232492997, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '4421739', 'n_tokens_mistral': 724, 'n_tokens_neox': 664, 'n_words': 159}