Role - kubeinit_openshift
Role Documentation
Please, refer to the kubeinit_openshift role official docs for further information.
Role Defaults
This section highlights all of the defaults and variables set within the “kubeinit_openshift” role.
# All variables intended for modification should be placed in this file.
# All variables within this role should have a prefix of "kubeinit_openshift_"
kubeinit_openshift_debug: '{{ (ansible_verbosity | int) >= 2 | bool }}'
kubeinit_openshift_hide_sensitive_logs: true
kubeinit_openshift_pod_cidr: 10.100.0.0/14
kubeinit_openshift_service_cidr: 172.30.0.0/16
kubeinit_openshift_network_type: OVNKubernetes
kubeinit_openshift_registry_pullsecret: "{{ '{\"auths\": {}}' | from_json }}"
kubeinit_openshift_registry_pullsecret_empty: "{{ '{\"auths\": {}}' | from_json }}"
kubeinit_openshift_registry:
okd:
organization: openshift
repository: okd
ocp:
organization: openshift-release-dev
repository: ocp-release
kubeinit_openshift_registry_site: quay.io
kubeinit_openshift_registry_organization: '{{ kubeinit_openshift_registry[kubeinit_cluster_distro].organization
}}'
kubeinit_openshift_registry_repository: '{{ kubeinit_openshift_registry[kubeinit_cluster_distro].repository
}}'
kubeinit_openshift_release:
okd:
tag: 4.15.0-0.okd-2024-03-10-010116
ocp:
tag: 4.16.2
kubeinit_openshift_release_tag: '{{ kubeinit_openshift_release[kubeinit_cluster_distro].tag
}}'
kubeinit_openshift_download:
okd:
baseurl: https://github.com/openshift/okd/releases/download/{{ kubeinit_openshift_release_tag
}}
ocp:
baseurl: https://mirror.openshift.com/pub/openshift-v4/clients/ocp/{{ kubeinit_openshift_release_tag
}}
kubeinit_openshift_download_baseurl: '{{ kubeinit_openshift_download[kubeinit_cluster_distro].baseurl
}}'
kubeinit_openshift_download_url:
client: '{{ kubeinit_openshift_download_baseurl }}/openshift-client-linux-{{ kubeinit_openshift_release_tag
}}.tar.gz'
installer: '{{ kubeinit_openshift_download_baseurl }}/openshift-install-linux-{{
kubeinit_openshift_release_tag }}.tar.gz'
release_txt: '{{ kubeinit_openshift_download_baseurl }}/release.txt'
Tasks files
This section highlights all the documentation available in the tasks files.
Molecule Scenarios
Molecule is being used to test the “kubeinit_openshift” role. The following section highlights the drivers in service and provides an example playbook showing how the role is leveraged.