From 3405b24fa6a4492a921a4a92b24a9f5a68c8683d Mon Sep 17 00:00:00 2001 From: "patchback[bot]" <45432694+patchback[bot]@users.noreply.github.com> Date: Mon, 3 Jul 2023 05:59:26 +0200 Subject: [PATCH] [PR #6832/92ea63e2 backport][stable-6] Revert "proxmox_kvm: remove non-working example (#6498)" (#6833) Revert "proxmox_kvm: remove non-working example (#6498)" (#6832) This reverts commit 61a0dc43700d7c6d8dcf0e24b82bacfe1902a288. (cherry picked from commit 92ea63e20be2e1c1d664c1e631a159e6c65d5f5a) Co-authored-by: Felix Fontein --- plugins/modules/proxmox_kvm.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/plugins/modules/proxmox_kvm.py b/plugins/modules/proxmox_kvm.py index 1dba5f4eaf..fe55470443 100644 --- a/plugins/modules/proxmox_kvm.py +++ b/plugins/modules/proxmox_kvm.py @@ -763,6 +763,15 @@ EXAMPLES = ''' node: sabrewulf state: absent +- name: Get VM current state + community.general.proxmox_kvm: + api_user: root@pam + api_password: secret + api_host: helldorado + name: spynal + node: sabrewulf + state: current + - name: Update VM configuration community.general.proxmox_kvm: api_user: root@pam