generate or get password if not set in vars
This commit is contained in:
1 parent
5d5c4bc91a
commit
7b5d51bf81
2 files changed
+6
-1
No files matched your search
@@ -0,0 +1,4 @@
|
||||
api = Yes
|
||||
api-key ={{ pdns_api_key | default(lookup('password', '/etc/powerdns/pdns.d/.api-key' length=20)) }}
|
||||
webserver = Yes
|
||||
webserver-address = {% if wg_local_ip is defined %}, {{ wg_local_ip | ansible.utils.ipaddr('address') }}{% else %}{{ ansible_default_ipv4.address }}{% endif %}
|
||||
Reference in new issue
Block a user