From 4d7e4e542ab7cc71e1ea8fa30cfbc49697281459 Mon Sep 17 00:00:00 2001 From: Erin Sims Date: Sun, 11 Sep 2022 19:06:20 -0400 Subject: [PATCH] working on changes, and debugging --- playbooks/mpdf.conf.j2 | 2 +- playbooks/mpdf.yaml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/playbooks/mpdf.conf.j2 b/playbooks/mpdf.conf.j2 index 3401274..d0172c2 100644 --- a/playbooks/mpdf.conf.j2 +++ b/playbooks/mpdf.conf.j2 @@ -16,7 +16,7 @@ music_directory "nfs://example.com/path/to/your/music/" database { plugin "proxy" - host "" + host " {{ droplets.id }}" # host "142.93.181.29" port "8888" password "password" diff --git a/playbooks/mpdf.yaml b/playbooks/mpdf.yaml index 9538798..fd87c19 100644 --- a/playbooks/mpdf.yaml +++ b/playbooks/mpdf.yaml @@ -40,7 +40,8 @@ - name: Gather information about a specific droplet by name community.digitalocean.digital_ocean_droplet_info: oauth_token: "{{ lookup('ansible.builtin.env', 'DO_API_TOKEN') }}" - name: "mpdb1" + name: mpdf1 + register: droplets - name: Install mpdf on hosts apt: name: mpd