diff --git a/playbooks/mpdf.conf.j2 b/playbooks/mpdf.conf.j2 index e7ec0a5..8292b8d 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.data[0].networks.v4[0].ip_address }}" # host "142.93.181.29" port "8888" password "password" diff --git a/playbooks/mpdf.yaml b/playbooks/mpdf.yaml index b4864e1..8395741 100644 --- a/playbooks/mpdf.yaml +++ b/playbooks/mpdf.yaml @@ -42,9 +42,9 @@ oauth_token: "{{ lookup('ansible.builtin.env', 'DO_API_TOKEN') }}" name: mpdb1 register: droplets - - name: Print return information from the previous task - ansible.builtin.debug: - msg : "{{ droplets.data[0].networks.v4[0].ip_address }}" +# - name: Print return information from the previous task + #ansible.builtin.debug: + # msg : "{{ droplets.data[0].networks.v4[0].ip_address }}" - name: Install mpdf on hosts apt: name: mpd