From 68879485371de20de87c33a56abd178cc806247e Mon Sep 17 00:00:00 2001 From: Alexander Block Date: Fri, 9 Dec 2016 14:06:48 +0100 Subject: [PATCH] Add check for azure_route_table_name and add it to all.yml --- inventory/group_vars/all.yml | 1 + roles/kubernetes/preinstall/tasks/azure-credential-check.yml | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/inventory/group_vars/all.yml b/inventory/group_vars/all.yml index dc8a169e4..14ffa22f3 100644 --- a/inventory/group_vars/all.yml +++ b/inventory/group_vars/all.yml @@ -150,6 +150,7 @@ dns_server: "{{ kube_service_addresses|ipaddr('net')|ipaddr(2)|ipaddr('address') #azure_subnet_name: #azure_security_group_name: #azure_vnet_name: +#azure_route_table_name: ## Set these proxy values in order to update docker daemon to use proxies diff --git a/roles/kubernetes/preinstall/tasks/azure-credential-check.yml b/roles/kubernetes/preinstall/tasks/azure-credential-check.yml index 2ee57202b..ca50d5843 100644 --- a/roles/kubernetes/preinstall/tasks/azure-credential-check.yml +++ b/roles/kubernetes/preinstall/tasks/azure-credential-check.yml @@ -44,4 +44,9 @@ msg: "azure_vnet_name is missing" when: azure_vnet_name is not defined or azure_vnet_name == "" +- name: check azure_route_table_name value + fail: + msg: "azure_route_table_name is missing" + when: azure_route_table_name is not defined or azure_route_table_name == "" +