<commit_before>---

# task file for dgnest.asterisk

- name: Update package repositories
  sudo: yes
  apt:
    update_cache: True
  when: ansible_distribution == "Ubuntu"
  tags:
    - apt
    - update_cache

- name: Install asterisk package dependencies
  sudo: yes
  apt:
  
    name: "{{ item }}"
  
    state: present
  register: install_asterisk_package_dependencies
  when: _asterisk_package_dependencies is defined
  with_items: _asterisk_package_dependencies
  tags:
    - apt
    - dependencies
- debug: var=install_asterisk_package_dependencies.stdout_lines

- name: Install asterisk dependencies
  sudo: yes
  apt:
  
    name: "{{ item.name }}"
  
    state: present
  register: install_asterisk_dependencies
  when: _asterisk_dependencies is defined
  with_items: _asterisk_dependencies
  tags:
    - apt
    - dependencies
- debug: var=install_asterisk_dependencies.stdout_lines<commit_msg>!#3 Add: settings task dependences<commit_after>---

# task file for dgnest.asterisk

- name: Update package repositories
  sudo: yes
  apt:
    update_cache: True
  when:
    - ansible_distribution == "Ubuntu"
    - ansible_distribution == "Debian"
  tags:
    - apt
    - update_cache

- name: Install asterisk package dependencies
  sudo: yes
  package:
    name: "{{ item }}"
    state: present
  register: install_asterisk_package_dependencies
  with_items: _asterisk_package_dependencies
  when:
    - _asterisk_package_dependencies is defined
  tags:
    - packages
    - dependencies
- debug: var=install_asterisk_package_dependencies.stdout_lines
{'fraction_non_alphanumeric': 0.07628205128205129, 'fraction_numerical': 0.000641025641025641, 'mean_word_length': 3.6047197640117994, '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': '4114111', 'n_tokens_mistral': 504, 'n_tokens_neox': 472, 'n_words': 119}