Project

General

Profile

Actions

Bug #63

open

Running Snapshot playbook of Ansible inventory error

Added by Frank Refol 4 months ago. Updated 4 months ago.

Status:
New
Priority:
Must Have
Assignee:
Category:
Ansible
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 #1

Updated by Frank Refol 4 months ago

  • Description updated (diff)
Actions #2

Updated by Frank Refol 4 months ago

  • Subject changed from Running Snapshot playbook of Ansible inventory in Semaphore error to Running Snapshot playbook of Ansible inventory error
  • Description updated (diff)
  • Category changed from Semaphore to Ansible
Actions #3

Updated by Frank Refol 4 months ago

  • Description updated (diff)
Actions

Also available in: Atom PDF