|
@@ -41,7 +41,7 @@ |
|
|
community.digitalocean.digital_ocean_droplet_info: |
|
|
community.digitalocean.digital_ocean_droplet_info: |
|
|
oauth_token: "{{ lookup('ansible.builtin.env', 'DO_API_TOKEN') }}" |
|
|
oauth_token: "{{ lookup('ansible.builtin.env', 'DO_API_TOKEN') }}" |
|
|
name: mpdb1 |
|
|
name: mpdb1 |
|
|
register: droplets |
|
|
|
|
|
|
|
|
register: droplets.data.image |
|
|
- name: Print return information from the previous task |
|
|
- name: Print return information from the previous task |
|
|
ansible.builtin.debug: |
|
|
ansible.builtin.debug: |
|
|
var: droplets |
|
|
var: droplets |
|
|