Hi, for yum there's the parameter exclude, for apt see a pinning howto
for example https://wiki.debian.org/AptPreferences, so you can use
lineinfile module to set the pinning priority of the package

On Mon, 11 Mar 2019 at 13:57, Face Gaming <[email protected]> wrote:
>
> Hey Guys
>
> I would like to know, if its possible to exclude packages from an apt update 
> or a blacklist for packages, which shouldn't be updated.
>
> Thanks for your help!
>
> Greetings
>
> --
> 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/c3f4b12c-46fd-4a0b-b657-07757a413e85%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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/CAPz4CsxTnE4ZBbAP5RCxEC11y5ou2EQzLuOBE%2BkQb8BmqX0C%2BA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to