jenkins-on-openshift icon indicating copy to clipboard operation
jenkins-on-openshift copied to clipboard

RFE variables for clusterhost and token

Open thomasmckay opened this issue 7 years ago • 1 comments

I setup and teardown origin via minishift very often (dev environment). Each time I need to edit the clusterhost in four files, the token in four files, and the central_registry_hostname in one file (unsure if that last one is required). Could top level variables be added to these files? I could then, perhaps, specify --extra-vars to the ansible-playbook command.

thomasmckay avatar Nov 01 '17 21:11 thomasmckay

@thomasmckay you can modify the inventory which would serve you the best. Our intentions is to support an inventory that could be used for multiple different clusters. Since you are using minishift you shouldn't need to use token but openshift_username/openshift_password which could be stored in all.yml along with clusterhost. There is no reason why you can't use --extra-vars now since those variables will always win precedence .

jcpowermac avatar Nov 02 '17 18:11 jcpowermac