<commit_before># requires:
#  - group_vars/all
#  - common/tasks/main.yml
---

- name: ora | create application user
  user: >
    name="{{ ora_user }}"
    home="{{ ora_app_dir }}"
    createhome=no
    shell=/bin/false

- name: ora | create ora app and data dir
  file: >
    path="{{ item }}"
    state=directory
    owner="{{ ora_user }}"
    group="{{ common_web_group }}"
  with_items:
    - "{{ ora_app_dir }}"
    - "{{ ora_data_dir }}"
    - "{{ ora_app_dir }}/ml_models"

- name: ora | install debian packages that ora needs
  apt: pkg={{item}} state=present
  with_items: ora_debian_pkgs

- name: ora | install debian packages for ease that ora needs
  apt: pkg={{item}} state=present
  with_items: ora_ease_debian_pkgs


- include: deploy.yml<commit_msg>formatting<commit_after># requires:
#  - group_vars/all
#  - common/tasks/main.yml
---

- name: ora | create application user
  user: >
    name="{{ ora_user }}"
    home="{{ ora_app_dir }}"
    createhome=no
    shell=/bin/false

- name: ora | create ora app and data dir
  file: >
    path="{{ item }}"
    state=directory
    owner="{{ ora_user }}"
    group="{{ common_web_group }}"
  with_items:
    - "{{ ora_app_dir }}"
    - "{{ ora_data_dir }}"
    - "{{ ora_app_dir }}/ml_models"

- name: ora | install debian packages that ora needs
  apt: pkg={{item}} state=present
  with_items: ora_debian_pkgs

- name: ora | install debian packages for ease that ora needs
  apt: pkg={{item}} state=present
  with_items: ora_ease_debian_pkgs

- include: deploy.yml
{'fraction_non_alphanumeric': 0.14921465968586387, 'fraction_numerical': 0.0, 'mean_word_length': 3.2005494505494507, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '4534709', 'n_tokens_mistral': 575, 'n_tokens_neox': 559, 'n_words': 133}