ansible-role-tinc/templates/hostfile.j2

10 lines
257 B
Plaintext
Raw Normal View History

2019-11-03 15:27:52 +00:00
{% if tinc_public_addr is defined %}
Address = {{ tinc_public_addr }}
{% endif %}
Subnet = {{ tinc_client_ip }}/32
{% if tinc_client_ip == tinc_remote_nets[0].gateway %}
Subnet = {{ tinc_remote_nets[0].net_cidr }}
{% endif %}
{% include tinc_tmp_pubkey %}