agonzalezrh / agonzalezrh.install_openshift / 1.0.4 / module / create_infra_env Creates a new OpenShift Discovery ISO. | "added in version" 1.0.0 of agonzalezrh.install_openshift" Authors: Alberto Gonzalez (@agonzalezrh)agonzalezrh.install_openshift.create_infra_env (1.0.4) — module
Install with ansible-galaxy collection install agonzalezrh.install_openshift:==1.0.4
collections: - name: agonzalezrh.install_openshift version: 1.0.4
Creates a new OpenShift Discovery ISO for Assisted Installer
- name: Create Infrastructure environment agonzalezrh.install_openshift.create_infra_env: name: "{{ cluster_name }}-infra-env" image_type: "{{ cluster_iso_type }}" cluster_id: "{{ newcluster.result.id }}" ssh_authorized_key: "{{ ssh_authorized_key }}" offline_token: "{{ offline_token }}" pull_secret: "{{ pull_secret }}" register: newinfraenv
name: description: Name of the infra-env. required: false type: str proxy: description: Proxy configuration required: false type: dict cluster_id: description: All hosts that register will be associated with the specified cluster. required: true type: str image_type: description: Type of image to be generated, full-iso or minimal-iso. required: false type: str pull_secret: description: The pull secret obtained from Red Hat OpenShift Cluster Manager at console.redhat.com/openshift/install/pull-secret. required: true type: str cpu_architecture: description: The CPU architecture of the image (x86_64/arm64/etc). required: false type: str kernel_arguments: description: List of kernel arugment objects that define the operations and values to be applied. required: false type: list openshift_version: description: Version of the OpenShift cluster (used to infer the RHCOS version - temporary until generic logic implemented). required: false type: str ssh_authorized_key: description: SSH public key for debugging the installation. required: false type: str static_network_config: description: Static network configuration required: false type: list additional_ntp_sources: description: A comma-separated list of NTP sources (name or IP) going to be added to all the hosts. required: false type: str additional_trust_bundle: description: PEM-encoded X.509 certificate bundle. Hosts discovered by this infra-env will trust the certificates in this bundle. Clusters formed from the hosts discovered by this infra-env will also trust the certificates in this bundle. required: false type: str ignition_config_override: description: JSON formatted string containing the user overrides for the initial ignition config. required: false type: str
result: description: Result from the API call returned: always type: dict