<commit_before>---
- name: disable osd directory parsing by updatedb
  command: updatedb -e /var/lib/ceph
  changed_when: false
  failed_when: false
  when:
    - osd_objectstore == 'filestore'

- name: disable osd directory path in updatedb.conf
  replace:
    dest: /etc/updatedb.conf
    regexp: '^(PRUNEPATHS(?!.*/var/lib/ceph).*)"$'
    replace: '\1 /var/lib/ceph"'
  failed_when: false
  when:
    - osd_objectstore == 'filestore'

- name: create tmpfiles.d directory
  file:
    path: "/etc/tmpfiles.d"
    state: "directory"
    owner: "root"
    group: "root"
    mode: "0755"<commit_msg>common: run updatedb task on debian systems only<commit_after>---
- name: disable osd directory parsing by updatedb
  command: updatedb -e /var/lib/ceph
  changed_when: false
  failed_when: false
  when:
    - ansible_os_family == "Debian"
    - osd_objectstore == 'filestore'

- name: disable osd directory path in updatedb.conf
  replace:
    dest: /etc/updatedb.conf
    regexp: '^(PRUNEPATHS(?!.*/var/lib/ceph).*)"$'
    replace: '\1 /var/lib/ceph"'
  failed_when: false
  when:
    - ansible_os_family == "Debian"
    - osd_objectstore == 'filestore'

- name: create tmpfiles.d directory
  file:
    path: "/etc/tmpfiles.d"
    state: "directory"
    owner: "root"
    group: "root"
    mode: "0755"
{'fraction_non_alphanumeric': 0.13912375096079937, 'fraction_numerical': 0.007686395080707148, 'mean_word_length': 3.06875, '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': '4144689', 'n_tokens_mistral': 491, 'n_tokens_neox': 477, 'n_words': 118}