<commit_before>---
openshift_node_debug_level: "{{ debug_level | default(2) }}"
openshift_node_iptables_sync_period: '30s'
osn_storage_plugin_deps:
- ceph
- glusterfs
- iscsi
openshift_node_local_quota_per_fsgroup: ""
openshift_node_proxy_mode: iptables
openshift_set_node_ip: False
openshift_config_base: '/etc/origin'

openshift_oreg_url_default_dict:
  origin: "openshift/origin-${component}:${version}"
  openshift-enterprise: "openshift3/ose-${component}:${version}"
openshift_oreg_url_default: "{{ openshift_oreg_url_default_dict[openshift_deployment_type] }}"
oreg_url_node: "{{ oreg_url | default(openshift_oreg_url_default) }}"

osn_ovs_image_default_dict:
  origin: "openshift/openvswitch"
  openshift-enterprise: "openshift3/openvswitch"
osn_ovs_image_default: "{{ osn_ovs_image_default_dict[openshift_deployment_type] }}"
osn_ovs_image: "{{ osn_ovs_image_default }}"

openshift_dns_ip: "{{ ansible_default_ipv4['address'] }}"

openshift_node_env_vars: {}

# Create list of 'k=v' pairs.
l_node_kubelet_node_labels: "{{ openshift_node_labels | default({}) | lib_utils_oo_dict_to_keqv_list }}"

openshift_node_kubelet_args_dict:
  aws:
    cloud-provider:
    - aws
    cloud-config:
    - "{{ openshift_config_base ~ '/cloudprovider/aws.conf' }}"
    node-labels: "{{ l_node_kubelet_node_labels }}"
  openstack:
    cloud-provider:
    - openstack
    cloud-config:
    - "{{ openshift_config_base ~ '/cloudprovider/openstack.conf' }}"
    node-labels: "{{ l_node_kubelet_node_labels }}"
  gce:
    cloud-provider:
    - gce
    cloud-config:
    - "{{ openshift_config_base ~ '/cloudprovider/gce.conf' }}"
    node-labels: "{{ l_node_kubelet_node_labels }}"
  azure:
    cloud-provider:
    - azure
    cloud-config:
    - "{{ openshift_config_base ~ '/cloudprovider/azure.conf' }}"
    node-labels: "{{ l_node_kubelet_node_labels }}"
  undefined:
    node-labels: "{{ l_node_kubelet_node_labels }}"

l_node_kubelet_args_default: "{{ openshift_node_kubelet_args_dict[openshift_cloudprovider_kind | default('undefined')] }}"

l_openshift_node_kubelet_args: "{{ openshift_node_kubelet_args | default({}) }}"
# Combine the default kubelet_args dictionary (based on cloud provider, if provided)
# with user-supplied openshift_node_kubelet_args.
# openshift_node_kubelet_args will override the defaults, if keys and/or subkeys
# are present in both.
l2_openshift_node_kubelet_args: "{{ l_node_kubelet_args_default | combine(l_openshift_node_kubelet_args, recursive=True) }}"
openshift_node_dnsmasq_install_network_manager_hook: true

# lo must always be present in this list or dnsmasq will conflict with
# the node's dns service.
openshift_node_dnsmasq_except_interfaces:
- lo

r_openshift_node_firewall_enabled: "{{ os_firewall_enabled | default(True) }}"
r_openshift_node_use_firewalld: "{{ os_firewall_use_firewalld | default(False) }}"

l_is_node_system_container: "{{ (openshift_use_node_system_container | default(openshift_use_system_containers | default(false)) | bool) }}"

openshift_node_syscon_auth_mounts_l:
- type: bind
  source: "{{ oreg_auth_credentials_path }}"
  destination: "/root/.docker"
  options:
  - ro

# If we need to add new mounts in the future, or the user wants to mount data.
# This should be in the same format as auth_mounts_l above.
openshift_node_syscon_add_mounts_l: []


openshift_deployment_type: "{{ openshift_deployment_type | default('origin') }}"

openshift_node_image_dict:
  origin: 'openshift/node'
  openshift-enterprise: 'openshift3/node'
osn_image: "{{ openshift_node_image_dict[openshift_deployment_type] }}"

openshift_service_type_dict:
  origin: origin
  openshift-enterprise: atomic-openshift<commit_msg>node: specify bind option to /root/.docker<commit_after>---
openshift_node_debug_level: "{{ debug_level | default(2) }}"
openshift_node_iptables_sync_period: '30s'
osn_storage_plugin_deps:
- ceph
- glusterfs
- iscsi
openshift_node_local_quota_per_fsgroup: ""
openshift_node_proxy_mode: iptables
openshift_set_node_ip: False
openshift_config_base: '/etc/origin'

openshift_oreg_url_default_dict:
  origin: "openshift/origin-${component}:${version}"
  openshift-enterprise: "openshift3/ose-${component}:${version}"
openshift_oreg_url_default: "{{ openshift_oreg_url_default_dict[openshift_deployment_type] }}"
oreg_url_node: "{{ oreg_url | default(openshift_oreg_url_default) }}"

osn_ovs_image_default_dict:
  origin: "openshift/openvswitch"
  openshift-enterprise: "openshift3/openvswitch"
osn_ovs_image_default: "{{ osn_ovs_image_default_dict[openshift_deployment_type] }}"
osn_ovs_image: "{{ osn_ovs_image_default }}"

openshift_dns_ip: "{{ ansible_default_ipv4['address'] }}"

openshift_node_env_vars: {}

# Create list of 'k=v' pairs.
l_node_kubelet_node_labels: "{{ openshift_node_labels | default({}) | lib_utils_oo_dict_to_keqv_list }}"

openshift_node_kubelet_args_dict:
  aws:
    cloud-provider:
    - aws
    cloud-config:
    - "{{ openshift_config_base ~ '/cloudprovider/aws.conf' }}"
    node-labels: "{{ l_node_kubelet_node_labels }}"
  openstack:
    cloud-provider:
    - openstack
    cloud-config:
    - "{{ openshift_config_base ~ '/cloudprovider/openstack.conf' }}"
    node-labels: "{{ l_node_kubelet_node_labels }}"
  gce:
    cloud-provider:
    - gce
    cloud-config:
    - "{{ openshift_config_base ~ '/cloudprovider/gce.conf' }}"
    node-labels: "{{ l_node_kubelet_node_labels }}"
  azure:
    cloud-provider:
    - azure
    cloud-config:
    - "{{ openshift_config_base ~ '/cloudprovider/azure.conf' }}"
    node-labels: "{{ l_node_kubelet_node_labels }}"
  undefined:
    node-labels: "{{ l_node_kubelet_node_labels }}"

l_node_kubelet_args_default: "{{ openshift_node_kubelet_args_dict[openshift_cloudprovider_kind | default('undefined')] }}"

l_openshift_node_kubelet_args: "{{ openshift_node_kubelet_args | default({}) }}"
# Combine the default kubelet_args dictionary (based on cloud provider, if provided)
# with user-supplied openshift_node_kubelet_args.
# openshift_node_kubelet_args will override the defaults, if keys and/or subkeys
# are present in both.
l2_openshift_node_kubelet_args: "{{ l_node_kubelet_args_default | combine(l_openshift_node_kubelet_args, recursive=True) }}"
openshift_node_dnsmasq_install_network_manager_hook: true

# lo must always be present in this list or dnsmasq will conflict with
# the node's dns service.
openshift_node_dnsmasq_except_interfaces:
- lo

r_openshift_node_firewall_enabled: "{{ os_firewall_enabled | default(True) }}"
r_openshift_node_use_firewalld: "{{ os_firewall_use_firewalld | default(False) }}"

l_is_node_system_container: "{{ (openshift_use_node_system_container | default(openshift_use_system_containers | default(false)) | bool) }}"

openshift_node_syscon_auth_mounts_l:
- type: bind
  source: "{{ oreg_auth_credentials_path }}"
  destination: "/root/.docker"
  options:
  - ro
  - bind

# If we need to add new mounts in the future, or the user wants to mount data.
# This should be in the same format as auth_mounts_l above.
openshift_node_syscon_add_mounts_l: []


openshift_deployment_type: "{{ openshift_deployment_type | default('origin') }}"

openshift_node_image_dict:
  origin: 'openshift/node'
  openshift-enterprise: 'openshift3/node'
osn_image: "{{ openshift_node_image_dict[openshift_deployment_type] }}"

openshift_service_type_dict:
  origin: origin
  openshift-enterprise: atomic-openshift
{'fraction_non_alphanumeric': 0.11172956828672279, 'fraction_numerical': 0.0021721422753190334, 'mean_word_length': 6.265285996055227, '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': '5435676', 'n_tokens_mistral': 2809, 'n_tokens_neox': 2687, 'n_words': 415}