command module fails when used with integer list element in argv #43732
Labels
affects_2.6
This issue/PR affects Ansible v2.6
bug
This issue/PR relates to a bug.
module
This issue/PR relates to a module.
support:core
This issue/PR relates to code supported by the Ansible Engineering Team.
traceback
This issue/PR includes a traceback.
SUMMARY
Using module command with an integer as a list element of argv fails, probably while trying to serialize the integer.
ISSUE TYPE
COMPONENT NAME
module command
ANSIBLE VERSION
CONFIGURATION
None
OS / ENVIRONMENT
Controller: Debian 9 ("stretch")
Servers configured via ansible are CentOS 7.5.
STEPS TO REPRODUCE
EXPECTED RESULTS
Integer 51 serialized as a string argument.
ACTUAL RESULTS
Module fails with python exception.
The text was updated successfully, but these errors were encountered: