On 09.04.2019 16:39, Brian Coca wrote:
@Kai that is incorrect, apt uses 'list' type for name/package/pkg
which accepts both yaml lists AND comma separated strings
OK, I did check the documentation before answering and it did not say
anything about a comma separated strings on the apt module only on the
yum module.
The problem is probably what the literal error message returns 'no
package named krb5-user' be aware that 'apt command line' normally
does a 'similar package name search' when the literal package name
passed is not found and might install a different package than
intended. The apt module specifically avoids this behaviour.
There is a package called krb5-user in Ubuntu and with a list it worked
only failed when using comma separated string.
The error message actually says
No package matching ' krb5-user' is available
It has a space in the front, so I guess that when using comma separated
string on the apt module you need to write the string without spaces.
--
Kai Stian Olstad
--
You received this message because you are subscribed to the Google Groups "Ansible
Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/7b28d6f5033ff3503b7472551a84d907%40olstad.com.
For more options, visit https://groups.google.com/d/optout.