diff --git a/playbooks/mpdf.yaml b/playbooks/mpdf.yaml index cd8eab9..9bcfc7a 100644 --- a/playbooks/mpdf.yaml +++ b/playbooks/mpdf.yaml @@ -40,7 +40,7 @@ tasks: - name: "mpd backendhost" set_fact: - backendhost: "{{ inventory_hostname |replace ("f", "b") }}" + backendhost: "{{ inventory_hostname |replace (f, b) }}" - name: Install mpdf on hosts apt: name: mpd