agonzalezrh.install_openshift.create_manifest (1.0.4) — module

Creates a new OpenShift Discovery ISO.

| "added in version" 1.0.0 of agonzalezrh.install_openshift"

Authors: Alberto Gonzalez (@agonzalezrh)

Install collection

Install with ansible-galaxy collection install agonzalezrh.install_openshift:==1.0.4


Add to requirements.yml

  collections:
    - name: agonzalezrh.install_openshift
      version: 1.0.4

Description

Creates a new OpenShift Discovery ISO for Assisted Installer

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Create Infrastructure environment
  agonzalezrh.install_openshift.create_manifest:
    cluster_id: "{{ newcluster.result.id }}"
    content: "{{ etcd_disk }}"
    file_name: "10-masters-storage-config"
    folder: "manifests"
    offline_token: "{{ offline_token }}"
    pull_secret: "{{ pull_secret }}"
  register: newinfraenv

Inputs

    
folder:
    description: The folderfor the new manifest to create.
    required: true
    type: str

content:
    description: The content for the new manifest to create.
    required: true
    type: str

file_name:
    description: The file_name for the new manifest to create.
    required: true
    type: str

cluster_id:
    description: All hosts that register will be associated with the specified cluster.
    required: true
    type: str

offline_token:
    description: Offline token from console.redhat.com
    required: true

Outputs

result:
  description: Result from the API call
  returned: always
  type: dict