Actions
Bug #63
openRunning Snapshot playbook of Ansible inventory error
Start date:
06/22/2025
Due date:
% Done:
0%
Estimated time:
Description
The following error is throw. When trying to execute the vm snapshot playbook to create snapshots of the Ansible inventory fails with the following error:
“New-style module did not handle its own exit”
See the following log snippet.
TASK [vms : Show vms_vmid] **********************************************************************************
Sunday 22 June 2025 08:35:59 -0400 (0:00:00.061) 0:00:02.599 ***********
ok: [ansible-0] => {
"msg": "ansible-0 has a vmid of 101"
}
ok: [ansible-1] => {
"msg": "ansible-1 has a vmid of 100"
}
TASK [vms : Create virtual machine snapshot] ****************************************************************
Sunday 22 June 2025 08:35:59 -0400 (0:00:00.060) 0:00:02.660 ***********
changed: [ansible-1 -> localhost]
fatal: [ansible-0 -> localhost]: FAILED! => {"changed": false, "msg": "New-style module did not handle its own exit"}
PLAY RECAP **************************************************************************************************
ansible-0 : ok=9 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
ansible-1 : ok=10 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
Creating a snapshot using Proxmox UI works fine.
Actions