<commit_before>---
# NOTE: requires openshift_facts be run
- name: Determine openshift_version to configure on first master
  hosts: "{{ l_openshift_version_determine_hosts | default('oo_first_master') }}"
  tasks:
  - include_role:
      name: openshift_version
      tasks_from: first_master.yml
    no_log: True
  - debug: msg="openshift_pkg_version set to {{ openshift_pkg_version | default('') }}"

# NOTE: We set this even on etcd hosts as they may also later run as masters,
# and we don't want to install wrong version of docker and have to downgrade
# later.
- name: Set openshift_version for etcd, node, and master hosts
  hosts: "{{ l_openshift_version_set_hosts | default(l_default_version_set_hosts) }}"
  vars:
    l_default_version_set_hosts: "oo_etcd_to_config:oo_nodes_to_config:oo_masters_to_config:!oo_first_master"
    l_first_master_openshift_version: "{{ hostvars[groups.oo_first_master.0].openshift_version }}"
    l_first_master_openshift_pkg_version: "{{ hostvars[groups.oo_first_master.0].openshift_pkg_version | default('') }}"
    l_first_master_openshift_image_tag: "{{ hostvars[groups.oo_first_master.0].openshift_image_tag}}"
  tasks:
  - set_fact:
      openshift_version: "{{ l_first_master_openshift_version }}"
      openshift_pkg_version: "{{ l_first_master_openshift_pkg_version }}"
      openshift_image_tag: "{{ l_first_master_openshift_image_tag }}"

# NOTE: These steps should only be run against masters and nodes.
- name: Ensure the requested version packages are available.
  hosts: "{{ l_openshift_version_check_hosts | default('oo_nodes_to_config:oo_masters_to_config:!oo_first_master') }}"
  tasks:
  - include_role:
      name: openshift_version
      tasks_from: masters_and_nodes.yml
<commit_msg>Remove no_log: True from openshift_version calls<commit_after>---
# NOTE: requires openshift_facts be run
- name: Determine openshift_version to configure on first master
  hosts: "{{ l_openshift_version_determine_hosts | default('oo_first_master') }}"
  tasks:
  - include_role:
      name: openshift_version
      tasks_from: first_master.yml
  - debug: msg="openshift_pkg_version set to {{ openshift_pkg_version | default('') }}"

# NOTE: We set this even on etcd hosts as they may also later run as masters,
# and we don't want to install wrong version of docker and have to downgrade
# later.
- name: Set openshift_version for etcd, node, and master hosts
  hosts: "{{ l_openshift_version_set_hosts | default(l_default_version_set_hosts) }}"
  vars:
    l_default_version_set_hosts: "oo_etcd_to_config:oo_nodes_to_config:oo_masters_to_config:!oo_first_master"
    l_first_master_openshift_version: "{{ hostvars[groups.oo_first_master.0].openshift_version }}"
    l_first_master_openshift_pkg_version: "{{ hostvars[groups.oo_first_master.0].openshift_pkg_version | default('') }}"
    l_first_master_openshift_image_tag: "{{ hostvars[groups.oo_first_master.0].openshift_image_tag}}"
  tasks:
  - set_fact:
      openshift_version: "{{ l_first_master_openshift_version }}"
      openshift_pkg_version: "{{ l_first_master_openshift_pkg_version }}"
      openshift_image_tag: "{{ l_first_master_openshift_image_tag }}"

# NOTE: These steps should only be run against masters and nodes.
- name: Ensure the requested version packages are available.
  hosts: "{{ l_openshift_version_check_hosts | default('oo_nodes_to_config:oo_masters_to_config:!oo_first_master') }}"
  tasks:
  - include_role:
      name: openshift_version
      tasks_from: masters_and_nodes.yml

{'fraction_non_alphanumeric': 0.09344729344729345, 'fraction_numerical': 0.0017094017094017094, 'mean_word_length': 5.599624060150376, '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': '4008623', 'n_tokens_mistral': 1216, 'n_tokens_neox': 1150, 'n_words': 243}