Ansible repo for digital ocean projects
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
374 B

  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] }}"