-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Package module pass list of packages to apt_rpm that is converted to string as is and not supported #143
Comments
The module expects a string, not a list as its param. It's probably better to fix the param type from |
Changing type break behavior of existing playbooks with single package name provided in module |
That's true in general, but not in this case: |
* Fixes #143, change package parameter from str to list * remove uneccessary splitting * add changelog fragment * fix parameter-list-no-elements validation * fix documentation * Fix changelog * Fix documetation, add example with list of packages * Update changelogs/fragments/apt_rpm_typefix.yml Co-authored-by: Alexander Leshkov <lam@arenadata.io> Co-authored-by: Felix Fontein <felix@fontein.de>
SUMMARY
apt_rpm does not support install packages provided as list, only as comma delimited string. So package module does not work with apt_rpm
ISSUE TYPE
COMPONENT NAME
apt_rpm
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
STEPS TO REPRODUCE
Use simple playbook that install list of packages on Altlinux
EXPECTED RESULTS
Packages succesfully installed by invoking apt_rpm
ACTUAL RESULTS
It is because:
The text was updated successfully, but these errors were encountered: