You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ansible Project
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
Luca Cazzaniga
unread,
Mar 11, 2019, 1:21:32 PM3/11/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ansible...@googlegroups.com
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
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ansible...@googlegroups.com
On 11.03.2019 13:57, Face Gaming wrote:
> 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.
There is no module for it, but you can run "apt-mark hold" with the command or shell module.
--
Kai Stian Olstad
Face Gaming
unread,
Mar 12, 2019, 4:47:37 AM3/12/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ansible Project
Hey Thanks for your quick Answer. I will definitely try that and see how this works
Face Gaming
unread,
Mar 12, 2019, 4:50:51 AM3/12/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ansible Project
Hey, i will use this as a second option. Thanks for your Answer!