[CODE] add tasks

This commit is contained in:
Jannik Beyerstedt 2019-11-03 16:27:52 +01:00
parent 54cffa0cdc
commit 1900ac0301
11 changed files with 203 additions and 3 deletions

9
templates/hostfile.j2 Normal file
View file

@ -0,0 +1,9 @@
{% 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 %}