Skip to content
Snippets Groups Projects
Commit aaa0105f authored by Brad Beam's avatar Brad Beam
Browse files

Flexing calicocni.hostname based on cloud provider

parent f29a4272
No related branches found
No related tags found
No related merge requests found
{ {
"name": "calico-k8s-network", "name": "calico-k8s-network",
{% if cloud_provider is defined %}
"hostname": "{{ inventory_hostname }}",
{% else %}
"hostname": "{{ ansible_hostname }}", "hostname": "{{ ansible_hostname }}",
{% endif %}
"type": "calico", "type": "calico",
"etcd_endpoints": "{{ etcd_access_endpoint }}", "etcd_endpoints": "{{ etcd_access_endpoint }}",
"etcd_cert_file": "{{ etcd_cert_dir }}/node-{{ inventory_hostname }}.pem", "etcd_cert_file": "{{ etcd_cert_dir }}/node-{{ inventory_hostname }}.pem",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment