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 == "" +