Преглед на файлове

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