From 4ac1e3a7632521d4a6ca55064d4ccf60020b986b Mon Sep 17 00:00:00 2001 From: Erin Sims Date: Tue, 13 Sep 2022 18:16:03 -0400 Subject: [PATCH] ZZRevert "working on changes, and debugging" This reverts commit df40886e7aad8d4215fd2451796f5c944d4c6b59. --- playbooks/mpdf.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/playbooks/mpdf.yaml b/playbooks/mpdf.yaml index 324d52a..8e26b29 100644 --- a/playbooks/mpdf.yaml +++ b/playbooks/mpdf.yaml @@ -37,7 +37,15 @@ buffer_before_play: "1%" tasks: - - name: Install mpdf on hosts + - 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 + register: droplets + - name: Print return information from the previous task + ansible.builtin.debug: + msg : "{{ droplets.data[0] }}" + - name: Install mpdf on hosts apt: name: mpd state: present