[TIDY] Move to ansible_facts dict instead of injected variables
This commit is contained in:
parent
cdd9bc58d2
commit
ccf581edaa
6 changed files with 20 additions and 20 deletions
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
# defaults file for tinc
|
||||
tinc_base_dir: /etc/tinc
|
||||
tinc_tmp_pubkey: "tmp/rsa_key-{{ ansible_hostname | replace('-', '_') }}.pub"
|
||||
tinc_tmp_pubkey: "tmp/rsa_key-{{ ansible_facts['hostname'] | replace('-', '_') }}.pub"
|
||||
|
||||
# ID of the vpn to create
|
||||
tinc_vpn_id: vpn0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue