Ver código fonte

Use absolute path when unexcluding

* As follow-up on #4835, use absolute path also when unexcluding
Sergi Jimenez 7 anos atrás
pai
commit
f723a5e8c5
1 arquivos alterados com 2 adições e 2 exclusões
  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