|
@ -33,9 +33,8 @@ DOCKER_SOCKET="--docker-endpoint=unix:/var/run/weave/weave.sock" |
|
|
KUBE_ALLOW_PRIV="--allow-privileged=true" |
|
|
KUBE_ALLOW_PRIV="--allow-privileged=true" |
|
|
{% if cloud_provider is defined and cloud_provider == "openstack" %} |
|
|
{% if cloud_provider is defined and cloud_provider == "openstack" %} |
|
|
KUBELET_CLOUDPROVIDER="--cloud-provider={{ cloud_provider }} --cloud-config={{ kube_config_dir }}/cloud_config" |
|
|
KUBELET_CLOUDPROVIDER="--cloud-provider={{ cloud_provider }} --cloud-config={{ kube_config_dir }}/cloud_config" |
|
|
{% elif cloud_provider is defined %} |
|
|
|
|
|
KUBELET_CLOUDPROVIDER="--cloud-provider={{ cloud_provider }}" |
|
|
|
|
|
{% else %} |
|
|
{% else %} |
|
|
|
|
|
{# TODO: gce and aws don't need the cloud provider to be set? #} |
|
|
KUBELET_CLOUDPROVIDER="" |
|
|
KUBELET_CLOUDPROVIDER="" |
|
|
{% endif %} |
|
|
{% endif %} |
|
|
{% if ansible_service_mgr in ["sysvinit","upstart"] %} |
|
|
{% if ansible_service_mgr in ["sysvinit","upstart"] %} |
|
|