Hi Team,

Can you please resolve this I got an error while I'm executing this 
playbook. For my play try to take VMware snapshot. It's large ESXi host 
center need to take some specific server snapshot

Here my playbook configuration:


---
- hosts: test
  tasks:
        - name: Create snapshot
          vmware_guest_snapshot:
            datacenter: "*******"
            hostname: *******
            username: *******
            password: *******
            name: "{{ ansible_hostname }}"
            uuid: "{{ ansible_product_uuid }}"
            state: present
            snapshot_name: test1
            description: patch_snapshot
            validate_certs: False
          delegate_to: localhost


Error:
=====

ansible-playbook snapshot.yml

PLAY [test] 
****************************************************************************************************************************************************************************************************

TASK [Gathering Facts] 
*****************************************************************************************************************************************************************************************
ok: [********]

TASK [Create snapshot] 
*****************************************************************************************************************************************************************************************
fatal: [*******-> localhost]: FAILED! => {"changed": false, "failed": true, 
"msg": "Unable to manage snapshots for non-existing VM "}
        to retry, use: --limit @/etc/ansible/snapshot.retry

PLAY RECAP 
*****************************************************************************************************************************************************************************************************
**********               : ok=1    changed=0    unreachable=0    failed=1



-- 
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/c0ff92c0-01c0-49d2-b399-08ad626bce8c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to