yum_repository includepkgs parameter break repo file #32704
Labels
affects_2.4
This issue/PR affects Ansible v2.4
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.
ISSUE TYPE
COMPONENT NAME
yum_repository
ANSIBLE VERSION
CONFIGURATION
N/A
OS / ENVIRONMENT
N/A
SUMMARY
If you specify multiple packages to include Ansible will write the list as Python list inside the repo file and make it unreadable by YUM.
STEPS TO REPRODUCE
EXPECTED RESULTS
repo file should contain this line:
ACTUAL RESULTS
repo file will include this invalid line:
Documentation states explicitly that use of YAML lists is accepted but the reality is very different.
The text was updated successfully, but these errors were encountered: