mirror of
https://github.com/openshift/community.okd.git
synced 2026-05-14 13:32:18 +00:00
remove hardcoded host value for molecule test openshift_auth (#90)
This commit is contained in:
@@ -1,8 +1,13 @@
|
|||||||
---
|
---
|
||||||
- vars:
|
- block:
|
||||||
# TODO(fabianvf) Get this parameter working locally as well
|
- name: Retrieve cluster info
|
||||||
openshift_host: 'https://kubernetes.default.svc'
|
kubernetes.core.k8s_cluster_info:
|
||||||
block:
|
register: k8s_cluster
|
||||||
|
|
||||||
|
- name: set openshift host value
|
||||||
|
set_fact:
|
||||||
|
openshift_host: "{{ k8s_cluster.connection.host }}"
|
||||||
|
|
||||||
- name: Log in (obtain access token)
|
- name: Log in (obtain access token)
|
||||||
community.okd.openshift_auth:
|
community.okd.openshift_auth:
|
||||||
username: test
|
username: test
|
||||||
|
|||||||
Reference in New Issue
Block a user