Hi,
I’m trying to use version wildcards while installing apt packages, like so:
apt: pkg=php5=5.4.*
Since those packages are being updated in the repository, I cannot hardcode a precise version number. However, on some systems the default php5 package may not correspond to version 5.4, so I need to add a version restriction of some sort. Ansible does not seem to support this syntax, failing with “msg: pkgname wildcard and version can not be mixed”.
Is there any elegant solution to this?
Cheers,
David