[FIX] hostname should not have hyphens

This commit is contained in:
Jannik Beyerstedt 2020-07-18 23:41:21 +02:00
parent 3e9ece5237
commit c4e3a9e407
4 changed files with 9 additions and 9 deletions

View file

@ -1,10 +1,10 @@
---
# defaults file for tinc
tinc_base_dir: /etc/tinc
tinc_tmp_pubkey: "tmp/rsa_key-{{ ansible_hostname }}.pub"
tinc_tmp_pubkey: "tmp/rsa_key-{{ ansible_hostname | replace('-', '_') }}.pub"
# ID of the vpn to create
tinc_vpn_id: vpn0
# hostname of the always-on server
tinc_central_host: hetzner-01
tinc_central_host: hetzner_01