"ERROR Exception Message:not enough values to unpack " when running an InfoScale Ansible playbook on RHEL 8.4

book

Article ID: 100051634

calendar_today

Updated On:

Description

Error Message

ERROR Exception Type:
ERROR Exception Message:not enough values to unpack (expected 2, got 1)

Cause

The playbook requires perl 5.26 to be enabled on the target host. The module isn't enabled by default on RHEL 8.4. This can be verified outside of Ansible by running a "yum check"

# yum check

Modular dependency problems:

Problem 1: conflicting requests
  - nothing provides module(perl:5.26) needed by module perl-IO-Socket-SSL:2.066:8030020200430120526:1e4bbb35-0.x86_64
Problem 2: conflicting requests
  - nothing provides module(perl:5.26) needed by module perl-libwww-perl:6.34:8030020200428102957:b967a9a2-0.x86_64

 

Resolution

Enable the perl 5.26 module.

# yum module enable perl:5.26

Issue/Introduction

When running an InfoScale Ansible playbook on a RHEL 8.4 target host, the playbook fails with "ERROR Exception Message:not enough values to unpack "