浏览代码

Use absolute path when unexcluding

* As follow-up on #4835, use absolute path also when unexcluding
Sergi Jimenez 7 年之前
父节点
当前提交
f723a5e8c5
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      roles/openshift_excluder/tasks/unexclude.yml

+ 2 - 2
roles/openshift_excluder/tasks/unexclude.yml

@@ -9,7 +9,7 @@
   register: docker_excluder_stat
 
 - name: disable docker excluder
-  command: "{{ r_openshift_excluder_service_type }}-docker-excluder unexclude"
+  command: "/sbin/{{ r_openshift_excluder_service_type }}-docker-excluder unexclude"
   when:
   - unexclude_docker_excluder | default(false) | bool
   - docker_excluder_stat.stat.exists
@@ -20,7 +20,7 @@
   register: openshift_excluder_stat
 
 - name: disable openshift excluder
-  command: "{{ r_openshift_excluder_service_type }}-excluder unexclude"
+  command: "/sbin/{{ r_openshift_excluder_service_type }}-excluder unexclude"
   when:
   - unexclude_openshift_excluder | default(false) | bool
   - openshift_excluder_stat.stat.exists