On 02. aug. 2017 08:45, Antonio Jimenez Ramirez wrote:
In the documentation the example he puts is:

http://docs.ansible.com/ansible/latest/ovirt_snapshots_module.html

# Restore snapshot:- ovirt_snapshots:
     state: restore
     vm_name: rhel7
     snapshot_id: "{{ snapshot.id }}"

If you look at the two examples before that you see they create a snapshot and register the output in a variable snapshot.

Thats why they can use "{{ snapshot.id }}" as the id of what snapshot to manage. If you do not have a variable you will need to provide the id some other way.


--
Kai Stian Olstad

--
You received this message because you are subscribed to the Google Groups "Ansible 
Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/b436d790-f606-b53a-1712-4734ea0596c8%40olstad.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to