<commit_before>---
- name: include_tasks system_tuning.yml
  include_tasks: system_tuning.yml

- name: install dependencies
  package:
    name: parted
    state: present
  register: result
  until: result is succeeded
  when:
    - not containerized_deployment
    - ansible_os_family != 'ClearLinux'

- name: install numactl when needed
  package:
    name: numactl
  register: result
  until: result is succeeded
  when:
    - containerized_deployment
    - ceph_osd_numactl_opts != ""
  tags:
    - with_pkg

- name: include_tasks common.yml
  include_tasks: common.yml

- name: include ceph_disk_cli_options_facts.yml
  include_tasks: ceph_disk_cli_options_facts.yml

- name: include build_devices.yml
  include_tasks: build_devices.yml

- name: read information about the devices
  parted:
    device: "{{ item }}"
    unit: MiB
  register: parted_results
  with_items: "{{ devices }}"

- name: include check_gpt.yml
  include_tasks: check_gpt.yml
  when:
    - osd_scenario != 'lvm'<commit_msg>ceph-osd: Ensure lvm2 is installed<commit_after>---
- name: include_tasks system_tuning.yml
  include_tasks: system_tuning.yml

- name: install dependencies
  package:
    name: parted
    state: present
  register: result
  until: result is succeeded
  when:
    - not containerized_deployment
    - ansible_os_family != 'ClearLinux'

- name: install numactl when needed
  package:
    name: numactl
  register: result
  until: result is succeeded
  when:
    - containerized_deployment
    - ceph_osd_numactl_opts != ""
  tags:
    - with_pkg

- name: install lvm2
  package:
    name: lvm2
  register: result
  until: result is succeeded
  when:
    - osd_scenario == 'lvm'
    - not is_atomic
  tags:
    - with_pkg

- name: include_tasks common.yml
  include_tasks: common.yml

- name: include ceph_disk_cli_options_facts.yml
  include_tasks: ceph_disk_cli_options_facts.yml

- name: include build_devices.yml
  include_tasks: build_devices.yml

- name: read information about the devices
  parted:
    device: "{{ item }}"
    unit: MiB
  register: parted_results
  with_items: "{{ devices }}"

- name: include check_gpt.yml
  include_tasks: check_gpt.yml
  when:
    - osd_scenario != 'lvm'
{'fraction_non_alphanumeric': 0.08507734303912648, 'fraction_numerical': 0.001364877161055505, 'mean_word_length': 3.4424242424242424, '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': '218090', 'n_tokens_mistral': 774, 'n_tokens_neox': 744, 'n_words': 186}