correct use of default with variable

This commit is contained in:
rene committed 2022-03-18 18:53:30 +01:00
1 parent 18f0ce341c
commit 50dd2691d5
3 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
---
- debug:
msg: "Hostname: {{ mastodon_host | default({{ ansible_fqdn }}) }}"
msg: "Hostname: {{ mastodon_host | default(ansible_fqdn) }}"
- name: mastodon | Copy nginx config
template: