Hi All,
I recently came across manageiq-ansible-module (https://github.com/dkorn/manageiq-ansible-module) which provides me the capability to add/update/delete openshift providers on manageIQ.
I have one query in this process. In here https://github.com/dkorn/manageiq-ansible-module/blob/master/examples/add_openshift_provider.yml#L12 we are specifying the provider api auth token which is the token of the Openshift service account which will allow manageIQ to query Openshift API.
Are we manually providing reading this token from the Openshift cluster and providing it as input to the playbook ? or is there a way we can retrieve this token in automated fashion so that once Openshift cluster is deployed using ansible we get the token and trigger this manageIQ module to add that cluster to manageIQ providers.
Please can you share your feedback on this.