Skip to content
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.

Can't taking a Vapp Snapshot #193

Open
ebilly-ops opened this issue Aug 24, 2021 · 1 comment
Open

Can't taking a Vapp Snapshot #193

ebilly-ops opened this issue Aug 24, 2021 · 1 comment

Comments

@ebilly-ops
Copy link

I'm trying to take a snapshot of my Vapp but in the ansible task, we need to specify vm(s) name(s) and thus, it will take a snapshot per vm instead of taking a snapshot of the whole Vapp.

- name: create vm snapshot
  vcd_vapp_vm_snapshot:
    vdc_name: REDACTED
    vapp_name: REDACTED
    vms:
      - name: REDACTED
        mem_snapshot: false
      - name: REDACTED
        mem_snapshot: false
    state: present
  register: output
ok: [localhost] => {
    "msg": {
        "changed": false,
        "failed": false,
        "msg": [
            {
                "snapshot": {
                    "created": "2021-08-10T09:25:33.844Z",
                    "poweredOn": "false",
                    "size": "100.0 GB"
                },
                "vm_name": "REDACTED"
            },
            {
                "snapshot": {
                    "created": "2021-08-10T09:24:53.024Z",
                    "poweredOn": "false",
                    "size": "100.0 GB"
                },
                "vm_name": "REDACTED"
            }
        ]
    }
}

Anyone have a solution to take a real Vapp Snapshot ?

@goagex
Copy link

goagex commented Aug 18, 2022

I would also like this feature to be implemented.
I guess we need a new module for this, like vcd_vapp_snapshot

Kind regards / Jonas

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants