Error installing packages with yum-module #46301
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
If I try to install the Packages
yum-utils device-mapper-persistent-data lvm2
with the YUM-Module. I get the Errorfatal: [example.example.com]: FAILED! => {"changed": false, "msg": "Failure talking to yum: Invalid version flag from: yum-utils device-mapper-persistent-data lvm2"}
. If I run the command local on the machine everything works.ISSUE TYPE
COMPONENT NAME
YUM Module
ANSIBLE VERSION
CONFIGURATION
Nothing Changed
OS / ENVIRONMENT
Running Ansible from Windows 10 -
CentOS Linux release 7.5.1804 (Core)
WSLSTEPS TO REPRODUCE
Run on clean CentOS 7 Digital Ocean Droplet. (Only installed the epel package and updated the all packages.)
Variable File:
EXPECTED RESULTS
It should install the packages or return that they're already installed.
ACTUAL RESULTS
If I run the Playbook it gives me this error:
The text was updated successfully, but these errors were encountered: