Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - name: debug it
- debug:
- var: all_tagged_droplets.json.droplets | selectattr('name', 'equalto', '{{inventory_hostname}}') | list
- - name: find the right droplet
- set_fact:
- droplet: "{{ all_tagged_droplets.json.droplets | selectattr('name', 'equalto', '{{inventory_hostname}}') | list }}"
- - name: debug it
- debug:
- var: droplet
Add Comment
Please, Sign In to add comment