summaryrefslogtreecommitdiffstats
path: root/roles/openshift_provisioners/tasks
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-12-07 09:14:49 -0500
committerScott Dodson <sdodson@redhat.com>2017-12-07 09:51:54 -0500
commit13ca9bbd624b334cab6a7403764e9bba110fc8b3 (patch)
tree7609fbab4c2865bb56454764cca4e1c3380772df /roles/openshift_provisioners/tasks
parent4bcb53654635de775c60d0176e3aeeed4856fc86 (diff)
downloadopenshift-13ca9bbd624b334cab6a7403764e9bba110fc8b3.tar.gz
openshift-13ca9bbd624b334cab6a7403764e9bba110fc8b3.tar.bz2
openshift-13ca9bbd624b334cab6a7403764e9bba110fc8b3.tar.xz
openshift-13ca9bbd624b334cab6a7403764e9bba110fc8b3.zip
Remove all uses of openshift.common.admin_binary
Replace with `oc adm`
Diffstat (limited to 'roles/openshift_provisioners/tasks')
-rw-r--r--roles/openshift_provisioners/tasks/install_efs.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_provisioners/tasks/install_efs.yaml b/roles/openshift_provisioners/tasks/install_efs.yaml
index 6e8792446..e543d753c 100644
--- a/roles/openshift_provisioners/tasks/install_efs.yaml
+++ b/roles/openshift_provisioners/tasks/install_efs.yaml
@@ -66,7 +66,7 @@
- name: "Set anyuid permissions for efs"
command: >
- {{ openshift.common.admin_binary}} --config={{ mktemp.stdout }}/admin.kubeconfig policy
+ {{ openshift.common.client_binary}} adm --config={{ mktemp.stdout }}/admin.kubeconfig policy
add-scc-to-user anyuid system:serviceaccount:{{openshift_provisioners_project}}:provisioners-efs
register: efs_output
failed_when: efs_output.rc == 1 and 'exists' not in efs_output.stderr