<commit_before>---
- name: collect all the pools
  command: rados --cluster {{ cluster }} lspools
  register: ceph_pools
  when: "{{ ceph_version | version_compare('0.94.0', '>=') }}"

- name: secure the cluster
  command: ceph --cluster {{ cluster }} osd pool set {{ item[0] }} {{ item[1] }} true
  with_nested:
    - ceph_pools.stdout_lines
    - secure_cluster_flags
  when: "{{ ceph_version | version_compare('0.94.0', '>=') }}"<commit_msg>ceph-mon: fix the loop in `secure the cluster' task<commit_after>---
- name: collect all the pools
  command: rados --cluster {{ cluster }} lspools
  register: ceph_pools
  when: "{{ ceph_version | version_compare('0.94.0', '>=') }}"

- name: secure the cluster
  command: ceph --cluster {{ cluster }} osd pool set {{ item[0] }} {{ item[1] }} true
  with_nested:
    - "{{ ceph_pools.stdout_lines|default([]) }}"
    - secure_cluster_flags
  when: "{{ ceph_version | version_compare('0.94.0', '>=') }}"
{'fraction_non_alphanumeric': 0.1828752642706131, 'fraction_numerical': 0.021141649048625793, 'mean_word_length': 3.8316326530612246, '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': '6257231', 'n_tokens_mistral': 337, 'n_tokens_neox': 330, 'n_words': 80}