On 09. des. 2016 17:41,
adam.fr...@gmail.com 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