Thank you!  That did it!

On Friday, January 13, 2017 at 9:28:12 AM UTC-6, Kai Stian Olstad wrote:
>
> On 09. des. 2016 17:41, adam.fr...@gmail.com <javascript:> wrote: 
> > I am attempting to perform the follow in order to only upgrade ubuntu 
> > security updates... 
> > 
> >     apt: upgrade=yes update_cache=yes 
> > dpkg_options='Dir::Etc::SourceList=/etc/apt/security.sources.list' 
>
> The dpkg_options is for the "-o Dpkg::Options::=--<something>" where 
> <something> is what you add to the dpkg_options. 
>
>
> > I am trying to replicate this functioning command... 
> > 
> > apt update && apt-get upgrade -o 
> > Dir::Etc::SourceList=/etc/apt/security.sources.list 
> > 
> > Any advice on the best way to handle this or some better examples on 
> > dpkg_options? 
>
> apt module doesn't support Dir::Etc::SourceList so the shell module is 
> an alternative. 
>
> - shell: apt update && apt-get upgrade -o 
> Dir::Etc::SourceList=/etc/apt/security.sources.list 
>
> -- 
> 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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/188e3a2b-b62d-415d-9437-1d2c8f14f052%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to