<commit_before>- name: Include Host vars
  include_vars: "{{ file_item }}"
  with_fileglob: "/usr/share/ovirt-hosted-engine-setup/gdeploy-inventory.yml"
  loop_control:
    loop_var: file_item
- debug: var=gluster

- name: Set Engine public key as authorized key without validating the TLS/SSL certificates
  authorized_key:
    user: root
    state: present
    key: https://{{ FQDN }}/ovirt-engine/services/pki-resource?resource=engine-certificate&format=OPENSSH-PUBKEY
    validate_certs: False
  delegate_to: "{{ host }}"
  with_items: "{{ gluster.hosts }}"
  loop_control:
    loop_var: host
  when: "gluster is defined and 'hosts' in gluster"

- name: Add additional gluster hosts to engine
  async: 50
  poll: 0
  ignore_errors: true
  ovirt_hosts:
    cluster: Default
    name: "{{ host }}"
    address: "{{ host }}"
    state: present
    public_key: true
    auth: "{{ ovirt_auth }}"
    hosted_engine: deploy
  with_items: "{{ gluster.hosts }}"
  loop_control:
    loop_var: host
  when: "gluster is defined and 'hosts' in gluster"

- name: "Add additional glusterfs storage domains"
  async: 50
  poll: 0
  ignore_errors: true
  ovirt_storage_domains:
      name: "{{ sd.name }}"
      host: "{{ HOST_NAME }}"
      auth: "{{ ovirt_auth }}"
      data_center: "{{ datacenter_name }}"
      glusterfs:
        address: "{{ HOST_ADDRESS }}"
        mount_options: "{{ sd.mount_options }}"
        path: "{{ sd.path }}"
  with_items: "{{ gluster.vars.storage_domains }}"<commit_msg>Attaching backend ip with SD in path<commit_after>- name: Include Host vars
  include_vars: "{{ file_item }}"
  with_fileglob: "/usr/share/ovirt-hosted-engine-setup/gdeploy-inventory.yml"
  loop_control:
    loop_var: file_item
- debug: var=gluster

- name: Set Engine public key as authorized key without validating the TLS/SSL certificates
  authorized_key:
    user: root
    state: present
    key: https://{{ FQDN }}/ovirt-engine/services/pki-resource?resource=engine-certificate&format=OPENSSH-PUBKEY
    validate_certs: False
  delegate_to: "{{ host }}"
  with_items: "{{ gluster.hosts }}"
  loop_control:
    loop_var: host
  when: "gluster is defined and 'hosts' in gluster"

- name: Add additional gluster hosts to engine
  async: 50
  poll: 0
  ignore_errors: true
  ovirt_hosts:
    cluster: Default
    name: "{{ host }}"
    address: "{{ host }}"
    state: present
    public_key: true
    auth: "{{ ovirt_auth }}"
    hosted_engine: deploy
  with_items: "{{ gluster.hosts }}"
  loop_control:
    loop_var: host
  when: "gluster is defined and 'hosts' in gluster"

- name: "Add additional glusterfs storage domains"
  ignore_errors: true
  ovirt_storage_domains:
      name: "{{ sd.name }}"
      host: "{{ HOST_NAME }}"
      auth: "{{ ovirt_auth }}"
      data_center: "{{ datacenter_name }}"
      glusterfs:
        address: "{{ STORAGE_DOMAIN_ADDR }}"
        mount_options: "{{ sd.mount_options }}"
        path: "{{ sd.path }}"
  with_items: "{{ gluster.vars.storage_domains }}"
{'fraction_non_alphanumeric': 0.12834224598930483, 'fraction_numerical': 0.0030080213903743314, 'mean_word_length': 3.395007342143906, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '3831619', 'n_tokens_mistral': 1045, 'n_tokens_neox': 1011, 'n_words': 250}