diff options
author | Sergi Jimenez <Sergi Jimenez> | 2017-07-24 10:30:00 +0200 |
---|---|---|
committer | Sergi Jimenez <Sergi Jimenez> | 2017-07-24 10:30:00 +0200 |
commit | eca69d808685c6a55f3f324f082c18ef6815609f (patch) | |
tree | 86ffb50f58331db5b78655603bde8e1ba51dd0c2 /roles | |
parent | 2a706ad80a4286afc4fe5a1cc0cadab302bc7291 (diff) | |
download | openshift-eca69d808685c6a55f3f324f082c18ef6815609f.tar.gz openshift-eca69d808685c6a55f3f324f082c18ef6815609f.tar.bz2 openshift-eca69d808685c6a55f3f324f082c18ef6815609f.tar.xz openshift-eca69d808685c6a55f3f324f082c18ef6815609f.zip |
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1474246
Use absolute path when executing excluder as it's used when checking for excluder.
Diffstat (limited to 'roles')
-rw-r--r-- | roles/openshift_excluder/tasks/exclude.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/openshift_excluder/tasks/exclude.yml b/roles/openshift_excluder/tasks/exclude.yml index 934f1b2d2..1b4818df9 100644 --- a/roles/openshift_excluder/tasks/exclude.yml +++ b/roles/openshift_excluder/tasks/exclude.yml @@ -5,7 +5,7 @@ register: docker_excluder_stat - name: Enable docker excluder - command: "{{ r_openshift_excluder_service_type }}-docker-excluder exclude" + command: "/sbin/{{ r_openshift_excluder_service_type }}-docker-excluder exclude" when: - r_openshift_excluder_enable_docker_excluder | bool - docker_excluder_stat.stat.exists @@ -16,7 +16,7 @@ register: openshift_excluder_stat - name: Enable openshift excluder - command: "{{ r_openshift_excluder_service_type }}-excluder exclude" + command: "/sbin/{{ r_openshift_excluder_service_type }}-excluder exclude" when: - r_openshift_excluder_enable_openshift_excluder | bool - openshift_excluder_stat.stat.exists |