summaryrefslogtreecommitdiffstats
path: root/roles/openshift_cli/templates
Commit message (Collapse)AuthorAgeFilesLines
* Copy openshift binaries instead of using wrapper script.Devan Goodwin2016-07-211-28/+0
| | | | | | | | | | | | | | For containerized masters, we previously create a wrapper script to run the docker CLI image and clean up afterward, but this approach is much slower than having the binary on the native system. Instead we now use an ansible module to handle the logic of syncing the various OpenShift binaries and symlinks for client tools out onto the host. The module will correctly report changed if modifications were needed. Substantial speed improvement for containerized installs which requires many openshift/oc commands.
* More version fixes.Devan Goodwin2016-06-161-1/+1
|
* Merge branch 'master' into upgrade33Devan Goodwin2016-06-101-2/+6
|\
| * Fix Docker 1.10 problems with empty tags and trailing :Devan Goodwin2016-06-061-3/+7
| | | | | | | | | | | | | | | | | | | | Docker 1.10 is no longer tolerant of commands like "docker pull myimage:" when we do not have an image tag in play. Adjust all occurrences with one that only includes the : if a version is defined. Adjust the containerized CLI wrappers for a similar problem.
* | Set openshift_version in config playbooks for first master.Devan Goodwin2016-05-251-2/+2
|/ | | | | | | Starting to remove openshift.docker.openshift_version fact usage. openshift_version should no longer contain a leading 'v' for containerized installs, just a version number.
* Support openshift_image_tagBrenton Leanhardt2016-03-071-1/+1
| | | | | | | | | | | | | This is the containerized openshift_pkg_version equivalent. Originally I was hoping to reuse openshift_pkg_version for containerized installs but the fact that it's very coupled to yum made that pretty ugly. However, I did opt to rely on the previously existing 'openshift_version' variable. Containerized and RPM installs can both use that variable and it will be set appropriately if either openshift_pkg_version or openshift_image_tag are set. I suspect someday containerized installs will be the only option and I didn't can to have thinkgs like openshift_pkg_version and openshift_image_tag in the playbooks anymore the necessary.
* Correctly set the image tag for containerized installs (and upgrades)Brenton Leanhardt2016-03-031-24/+3
|
* Updating the containerized cli wrapper to work for both docker 1.8 and 1.9Brenton Leanhardt2016-03-031-5/+18
|
* First past at the upgrade processBrenton Leanhardt2016-03-031-1/+10
|
* Add a banner to CLI wrapper instructing users that it's only for bootstrappingScott Dodson2016-01-071-1/+15
| | | | Also remove -a STDIN,STDOUT,STDERR that's the default
* Fix multi-word arguments & cli wrapper stdin plumbingScott Dodson2016-01-061-8/+1
| | | | | Fixes https://bugzilla.redhat.com/1295677 Fixes `echo "foo" | oc create -f -`
* Add openshift_cli roleScott Dodson2015-12-151-0/+16
This role ensures that the clients package is installed or if it's a containerized install places a wrapper script in /usr/local/bin/openshift and symlinks for oc, oadm, and kubectl.