agonzalezrh / agonzalezrh.install_openshift / 1.0.4 / module / get_credentials Get the cluster admin credentials. | "added in version" 1.0.0 of agonzalezrh.install_openshift" Authors: Alberto Gonzalez (@agonzalezrh)agonzalezrh.install_openshift.get_credentials (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
Get the cluster admin credentials.
- name: Obtain OpenShift cluster credentials register: credentials agonzalezrh.install_openshift.get_credentials: cluster_id: "{{ newcluster.result.id }}" offline_token: "{{ offline_token }}"
cluster_id: description: ID of the cluster required: true type: str offline_token: description: Offline token from console.redhat.com required: true type: str
result: description: Result from the API call returned: always type: dict