summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergi Jimenez <Sergi Jimenez>2017-07-24 16:19:10 +0200
committerSergi Jimenez <Sergi Jimenez>2017-07-24 16:19:10 +0200
commitf723a5e8c5c93b1d14d893a39f43a09dc339c6f4 (patch)
tree25ec9e98896d4c03894ed845f7c52ab3eaaff24a
parentc5e782db1bd700ed616d59f9fbdfa94cc78dac97 (diff)
downloadopenshift-f723a5e8c5c93b1d14d893a39f43a09dc339c6f4.tar.gz
openshift-f723a5e8c5c93b1d14d893a39f43a09dc339c6f4.tar.bz2
openshift-f723a5e8c5c93b1d14d893a39f43a09dc339c6f4.tar.xz
openshift-f723a5e8c5c93b1d14d893a39f43a09dc339c6f4.zip
Use absolute path when unexcluding
* As follow-up on #4835, use absolute path also when unexcluding
-rw-r--r--roles/openshift_excluder/tasks/unexclude.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/openshift_excluder/tasks/unexclude.yml b/roles/openshift_excluder/tasks/unexclude.yml
index a5ce8d5c7..a68165bde 100644
--- a/roles/openshift_excluder/tasks/unexclude.yml
+++ b/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