diff options
author | Colin Walters <walters@verbum.org> | 2017-02-18 10:21:56 -0500 |
---|---|---|
committer | Jason DeTiberus <jdetiber@redhat.com> | 2017-02-21 23:29:09 -0500 |
commit | 4b8328fe94015b25209d9b3e6c94b2a3cd0cff40 (patch) | |
tree | a4fc69ed0e838aa18c3203c50ca740aeac9a36d4 /roles/lib_openshift/src/class/oc_adm_registry.py | |
parent | b718955622da88c875aa5814fd87bcb3f53599f6 (diff) | |
download | openshift-4b8328fe94015b25209d9b3e6c94b2a3cd0cff40.tar.gz openshift-4b8328fe94015b25209d9b3e6c94b2a3cd0cff40.tar.bz2 openshift-4b8328fe94015b25209d9b3e6c94b2a3cd0cff40.tar.xz openshift-4b8328fe94015b25209d9b3e6c94b2a3cd0cff40.zip |
roles/lib_openshift: Handle /usr/local/bin/oc with sudo
The real changes here are in `src/lib/{base,import}.py` remember, the rest is
committed to git rather than built for some reason.
This is tested on CentOS AH (python2), I haven't yet tested the Python 3 path
here. I tried the suggestion in the PR for using Ansible's `module` but AFAICS
that would require passing down the `module` variable pretty far down into this
code. This implementation seems OK too.
Closes: https://github.com/openshift/openshift-ansible/issues/3410
Diffstat (limited to 'roles/lib_openshift/src/class/oc_adm_registry.py')
0 files changed, 0 insertions, 0 deletions