From 92ea63e20be2e1c1d664c1e631a159e6c65d5f5a Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Sun, 2 Jul 2023 22:25:32 +0200 Subject: [PATCH] Revert "proxmox_kvm: remove non-working example (#6498)" (#6832) This reverts commit 61a0dc43700d7c6d8dcf0e24b82bacfe1902a288. --- 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 3750857a92..34827a8a8f 100644 --- a/plugins/modules/proxmox_kvm.py +++ b/plugins/modules/proxmox_kvm.py @@ -788,6 +788,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