agonzalezrh.install_openshift.install_cluster (1.0.4) — module

Installs the OpenShift cluster.

| "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 cluster on console.redhat.com/openshift

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Start cluster installation
  agonzalezrh.install_openshift.install_cluster:
    cluster_id: "{{ newcluster.result.id }}"
    offline_token: "{{ offline_token }}"
    wait_timeout: 1800
    delay: 60

Inputs

    
delay:
    default: 60
    description: Delay time between checks
    required: false
    type: int

cluster_id:
    description: ID of the cluster
    required: true
    type: str

wait_timeout:
    default: 1800
    description: Wait timeout in seconds
    required: false
    type: int

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

Outputs

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