Browse Source

Add check for azure_route_table_name and add it to all.yml

pull/708/head
Alexander Block 8 years ago
parent
commit
dbd9aaf1ea
2 changed files with 6 additions and 0 deletions
  1. 1
      inventory/group_vars/all.yml
  2. 5
      roles/kubernetes/preinstall/tasks/azure-credential-check.yml

1
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

5
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 == ""
Loading…
Cancel
Save