From c77d11f1c73f6a4741116e92b6a8a2cfda60e171 Mon Sep 17 00:00:00 2001 From: ArthurMa <4406arthur@gmail.com> Date: Tue, 5 Sep 2017 13:35:14 +0800 Subject: [PATCH] Bugfix (#1616) lost executable path --- roles/kubernetes-apps/efk/elasticsearch/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/kubernetes-apps/efk/elasticsearch/tasks/main.yml b/roles/kubernetes-apps/efk/elasticsearch/tasks/main.yml index de514b563..8abbe2317 100644 --- a/roles/kubernetes-apps/efk/elasticsearch/tasks/main.yml +++ b/roles/kubernetes-apps/efk/elasticsearch/tasks/main.yml @@ -10,7 +10,7 @@ when: rbac_enabled - name: "ElasticSearch | Create Serviceaccount and Clusterrolebinding (RBAC)" - command: "kubectl apply -f {{ kube_config_dir }}/{{ item }} -n {{ system_namespace }}" + command: "{{ bin_dir }}/kubectl apply -f {{ kube_config_dir }}/{{ item }} -n {{ system_namespace }}" with_items: - "efk-sa.yml" - "efk-clusterrolebinding.yml"