jenkins-on-openshift
jenkins-on-openshift copied to clipboard
RFE variables for clusterhost and token
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 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 .