From 2b188d13824d0d879b25f9fa1d70294743f1338c Mon Sep 17 00:00:00 2001 From: Brad Beam Date: Mon, 10 Apr 2017 11:01:12 -0500 Subject: [PATCH] Fixing resource type for kibana --- roles/kubernetes-apps/efk/elasticsearch/tasks/main.yml | 1 - roles/kubernetes-apps/efk/kibana/tasks/main.yml | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/roles/kubernetes-apps/efk/elasticsearch/tasks/main.yml b/roles/kubernetes-apps/efk/elasticsearch/tasks/main.yml index 848f7226b..df27ec701 100644 --- a/roles/kubernetes-apps/efk/elasticsearch/tasks/main.yml +++ b/roles/kubernetes-apps/efk/elasticsearch/tasks/main.yml @@ -13,7 +13,6 @@ namespace: "{{system_namespace}}" resource: "rc" state: "{{ item | ternary('latest','present') }}" - #state: "latest" with_items: "{{ es_deployment_manifest.changed }}" run_once: true diff --git a/roles/kubernetes-apps/efk/kibana/tasks/main.yml b/roles/kubernetes-apps/efk/kibana/tasks/main.yml index beb499d5a..5e2b15f71 100644 --- a/roles/kubernetes-apps/efk/kibana/tasks/main.yml +++ b/roles/kubernetes-apps/efk/kibana/tasks/main.yml @@ -11,7 +11,7 @@ kubectl: "{{bin_dir}}/kubectl" name: "kibana-logging" namespace: "{{system_namespace}}" - resource: "rc" + resource: "deployment" state: "{{ item | ternary('latest','present') }}" with_items: "{{ kibana_deployment_manifest.changed }}" run_once: true