diff --git a/playbooks/mpdf.yaml b/playbooks/mpdf.yaml index fdb6b84..367f2a7 100644 --- a/playbooks/mpdf.yaml +++ b/playbooks/mpdf.yaml @@ -44,7 +44,7 @@ register: droplets - name: Print return information from the previous task ansible.builtin.debug: - msg : "{{ droplets.data.id }}" + msg : "{{ droplets.data[0].id }}" - name: Install mpdf on hosts apt: name: mpd