<commit_before>---
- name: include common.yml
  include_tasks: common.yml

- name: include_tasks pre_requisite.yml
  include_tasks: pre_requisite.yml
  when: not containerized_deployment

- name: include_tasks openstack-keystone.yml
  include_tasks: openstack-keystone.yml
  when: radosgw_keystone_ssl|bool

- name: include_tasks start_radosgw.yml
  include_tasks: start_radosgw.yml
  when: not containerized_deployment

- name: include_tasks multisite/main.yml
  include_tasks: multisite/main.yml
  when: rgw_multisite

- name: include_tasks docker/main.yml
  include_tasks: docker/main.yml
  when: containerized_deployment

- name: rgw pool realted tasks
  when:
    - rgw_create_pools is defined
  block:
    - name: create rgw pools if rgw_create_pools is defined
      command: "{{ docker_exec_cmd }} ceph --connect-timeout 5 --cluster {{ cluster }} osd pool create {{ item.key }} {{ item.value.pg_num }}"
      changed_when: false
      with_dict: "{{ rgw_create_pools }}"
      delegate_to: "{{ groups[mon_group_name][0] }}"
      run_once: true

    - name: customize pool size<commit_msg>rgw: move multisite related tasks after docker/main.yml<commit_after>---
- name: include common.yml
  include_tasks: common.yml

- name: include_tasks pre_requisite.yml
  include_tasks: pre_requisite.yml
  when: not containerized_deployment

- name: include_tasks openstack-keystone.yml
  include_tasks: openstack-keystone.yml
  when: radosgw_keystone_ssl|bool

- name: include_tasks start_radosgw.yml
  include_tasks: start_radosgw.yml
  when: not containerized_deployment

- name: include_tasks docker/main.yml
  include_tasks: docker/main.yml
  when: containerized_deployment

- name: include_tasks multisite/main.yml
  include_tasks: multisite/main.yml
  when: rgw_multisite

- name: rgw pool realted tasks
  when:
    - rgw_create_pools is defined
  block:
    - name: create rgw pools if rgw_create_pools is defined
      command: "{{ docker_exec_cmd }} ceph --connect-timeout 5 --cluster {{ cluster }} osd pool create {{ item.key }} {{ item.value.pg_num }}"
      changed_when: false
      with_dict: "{{ rgw_create_pools }}"
      delegate_to: "{{ groups[mon_group_name][0] }}"
      run_once: true

    - name: customize pool size
{'fraction_non_alphanumeric': 0.0943649373881932, 'fraction_numerical': 0.0017889087656529517, 'mean_word_length': 3.9821826280623607, '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': '2242429', 'n_tokens_mistral': 815, 'n_tokens_neox': 745, 'n_words': 175}