From 0c96b5d3fcbd53082f4e68bab092009cc804dd7a Mon Sep 17 00:00:00 2001 From: Brad Beam Date: Mon, 6 Mar 2017 10:51:38 -0600 Subject: [PATCH] Removing cloud_provider tag to fix scenario where cloud_provider is not defined --- roles/kubernetes/preinstall/tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/kubernetes/preinstall/tasks/main.yml b/roles/kubernetes/preinstall/tasks/main.yml index 4d89a73dd..e79d92751 100644 --- a/roles/kubernetes/preinstall/tasks/main.yml +++ b/roles/kubernetes/preinstall/tasks/main.yml @@ -70,7 +70,7 @@ - include: "{{ cloud_provider }}-credential-check.yml" when: cloud_provider is defined and cloud_provider in [ 'openstack', 'azure', 'vsphere' ] - tags: [cloud-provider, "{{ cloud_provider }}", facts] + tags: [cloud-provider, facts] - name: Create cni directories file: @@ -182,7 +182,7 @@ group: "{{ kube_cert_group }}" mode: 0640 when: inventory_hostname in groups['k8s-cluster'] and cloud_provider is defined and cloud_provider in [ 'openstack', 'azure', 'vsphere' ] - tags: [cloud-provider, "{{ cloud_provider }}"] + tags: [cloud-provider] - include: etchosts.yml tags: [bootstrap-os, etchosts]