yum module doing update takes much, much longer than command line equivalent #64609
Labels
affects_2.7
This issue/PR affects Ansible v2.7
bug
This issue/PR relates to a bug.
module
This issue/PR relates to a module.
packaging
Packaging category
support:core
This issue/PR relates to code supported by the Ansible Engineering Team.
SUMMARY
Yum update using yum module takes much longer to execute than command line equivalent.
Running playbook with '-v' or '-vvv' brings execution times to similar of command line equivalent.
Ansible v2.7.8 and v2.8.5 exhibit same behavior. Not able to test against latest or devel.
Possibly related to #51284 but not strictly related to "name: '*'" as argument because "name: kernel" has long execution times too.
See attached file for timings. ansible-yum-module-compare.docx
ISSUE TYPE
COMPONENT NAME
yum module
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
RHEL 7.6
VM running on ESXI 6.7
ESXI 6.7 installed on Dell R430
STEPS TO REPRODUCE
ansible-yum-module-compare.docx
EXPECTED RESULTS
Expect the yum update kernel and yum update '*' execution times to be similar to yum update command line execution time plus small overhead.
ansible-playbook -v or -vvv does as expected.
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: