Ansible repo for digital ocean projects
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

junk.yml 374 B

123456789
  1. # - name: Gather information about a specific droplet by name
  2. community.digitalocean.digital_ocean_droplet_info:
  3. oauth_token: "{{ lookup('ansible.builtin.env', 'DO_API_TOKEN') }}"
  4. name: mpdb1
  5. register: droplets
  6. - name: Print return information from the previous task
  7. ansible.builtin.debug:
  8. msg : "{{ droplets.data[0] }}"