SUMMARY
Since by default Ansible plays gather facts from all hosts, if you are not using any facts in tasks gather_facts should be set to false. There are multiple scripts where ansible facts are gathered but not used, which will be a performance issue.
ISSUE TYPE
COMPONENT NAME
Performance
ANSIBLE VERSION
ansible [core 2.15.8]
COLLECTION VERSION
latest
OS / ENVIRONMENT
Cent OS 9
STEPS TO REPRODUCE
go to the below scripts and check. there are plays that gather facts but dont use.
tools/prepare_release.yml
tests/integration/targets/vmware_vm_inventory/prepare_environment.yml
tests/integration/targets/vmware_vm_inventory/test_inventory.yml
EXPECTED RESULTS
set gather_facts to false if facts aren't used.
SUMMARY
Since by default Ansible plays gather facts from all hosts, if you are not using any facts in tasks gather_facts should be set to false. There are multiple scripts where ansible facts are gathered but not used, which will be a performance issue.
ISSUE TYPE
COMPONENT NAME
Performance
ANSIBLE VERSION
ansible [core 2.15.8]
COLLECTION VERSION
latest
OS / ENVIRONMENT
Cent OS 9
STEPS TO REPRODUCE
go to the below scripts and check. there are plays that gather facts but dont use.
tools/prepare_release.yml
tests/integration/targets/vmware_vm_inventory/prepare_environment.yml
tests/integration/targets/vmware_vm_inventory/test_inventory.yml
EXPECTED RESULTS
set gather_facts to false if facts aren't used.