Browse Source

docker-gc: use openshift_client_binary to support Atomic

Vadim Rutkovsky 7 years ago
parent
commit
06f8d392f3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      roles/openshift_docker_gc/tasks/main.yml

+ 1 - 1
roles/openshift_docker_gc/tasks/main.yml

@@ -13,7 +13,7 @@
 
 # NOTE: oc_adm_policy_user does not support -z (yet)
 - name: Add dockergc as priviledged
-  shell: oc adm policy add-scc-to-user -z dockergc privileged
+  shell: "{{ openshift_client_binary }}  adm policy add-scc-to-user -z dockergc privileged"
 #  oc_adm_policy_user:
 #    user: dockergc
 #    resource_kind: scc