apt tagshttps://git.coop/webarch/apt/-/tags2023-12-30T10:53:13Zhttps://git.coop/webarch/apt/-/tags/3.1.03.1.0Version 3.1.0<p data-sourcepos="1:1-1:37" dir="auto">Fix <code data-sourcepos="1:6-1:17">sources.list</code> for Debian Buster.</p>2023-12-30T10:53:13ZChris Croomechris@webarchitects.co.ukhttps://git.coop/webarch/apt/-/tags/3.0.23.0.2Version 3.0.2<p data-sourcepos="1:1-1:33" dir="auto">Add <code data-sourcepos="1:6-1:15">apt_distro</code> to the arg spec.</p>2023-07-28T14:22:48ZChris Croomechris@webarchitects.co.ukhttps://git.coop/webarch/apt/-/tags/3.0.13.0.1Version 3.0.1<p data-sourcepos="1:1-1:245" dir="auto">The <a data-sourcepos="1:5-1:155" href="https://docs.ansible.com/ansible/latest/collections/ansible/builtin/validate_argument_spec_module.html" rel="nofollow noreferrer noopener" target="_blank">ansible.builtin.validate_argument_spec module</a> requires Ansible <code data-sourcepos="1:175-1:180">2.11.0</code> for greater, so only include these tasks when that is the case.</p>2023-07-13T15:43:28ZChris Croomechris@webarchitects.co.ukhttps://git.coop/webarch/apt/-/tags/3.0.03.0.0Version 3.0.0<p data-sourcepos="1:1-1:79" dir="auto">Refactor to support <code data-sourcepos="1:22-1:59">/etc/apt/sources.list.d/debian.sources</code> for Debian Trixie.</p>2023-07-13T12:04:23ZChris Croomechris@webarchitects.co.ukhttps://git.coop/webarch/apt/-/tags/2.2.32.2.3Version 2.2.3<p data-sourcepos="1:1-1:44" dir="auto">Update apt cache before installing packages.</p>2023-05-22T14:04:10ZChris Croomechris@webarchitects.co.ukhttps://git.coop/webarch/apt/-/tags/2.2.22.2.2Version 2.2.2<p data-sourcepos="1:1-1:27" dir="auto">Release made before update!</p>2023-05-22T14:03:26ZChris Croomechris@webarchitects.co.ukhttps://git.coop/webarch/apt/-/tags/2.2.12.2.1Version 2.2.1<p data-sourcepos="1:1-1:81" dir="auto">Update <code data-sourcepos="1:9-1:17">dpkg.fact</code>to enable it to work in a <code data-sourcepos="1:46-1:51">chroot</code> without <code data-sourcepos="1:63-1:71">/dev/proc</code> mounted.</p>2023-03-25T19:41:58ZChris Croomechris@webarchitects.co.ukhttps://git.coop/webarch/apt/-/tags/2.2.02.2.0Version 2.2.0<p data-sourcepos="1:1-1:53" dir="auto">Allow Debian Bookworm to include <code data-sourcepos="1:35-1:51">non-free-firmware</code>.</p>2023-03-25T11:34:52ZChris Croomechris@webarchitects.co.ukhttps://git.coop/webarch/apt/-/tags/2.1.02.1.0Version 2.1.0<p data-sourcepos="1:1-1:98" dir="auto">Use <code data-sourcepos="1:6-1:9">grep</code> to ensure that <code data-sourcepos="1:28-1:36">deinstall</code> packages are not listed as installed, in <code data-sourcepos="1:81-1:89">dpkg.fact</code> script:</p>
<div class="gl-relative markdown-code-block js-markdown-code">
<pre data-sourcepos="3:1-5:3" data-canonical-lang="bash" class="code highlight js-syntax-highlight language-shell" lang="shell" v-pre="true"><code><span id="LC1" class="line" lang="shell">dpkg <span class="nt">--get-selections</span> | <span class="nb">grep</span> <span class="s1">'[[:space:]]install$'</span> | gawk <span class="s1">'{ print $1 }'</span></span></code></pre>
<copy-code></copy-code>
</div>2023-01-31T18:00:44ZChris Croomechris@webarchitects.co.ukhttps://git.coop/webarch/apt/-/tags/2.0.12.0.1Version 2.0.1<p data-sourcepos="1:1-1:165" dir="auto">Use <code data-sourcepos="1:6-1:22">[[ -e /bin/foo ]]</code>, exists, rather than <code data-sourcepos="1:47-1:63">[[ -f /bin/foo ]]</code>, file, in Bash <code data-sourcepos="1:82-1:101">/etc/ansible/facts.d</code> scripts to check for programs existing, to allow for symlinks.</p>2023-01-27T16:52:34ZChris Croomechris@webarchitects.co.ukhttps://git.coop/webarch/apt/-/tags/2.0.02.0.0Version 2.0.0<p data-sourcepos="1:1-1:172" dir="auto">This release contains re-written <code data-sourcepos="1:35-1:45">local_facts</code> Bash scripts, the key change to these being that the <code data-sourcepos="1:102-1:110">dpkg.fact</code> script now also outputs a list of installed <code data-sourcepos="1:158-1:161">.deb</code> packages.</p>
<p data-sourcepos="3:1-3:183" dir="auto">This release also includes better documentation, role validation and some additional variables to control what the roles does, like <code data-sourcepos="3:134-3:141">apt_pkgs</code> for the packages that the role installs.</p>2023-01-27T16:52:56ZChris Croomechris@webarchitects.co.ukhttps://git.coop/webarch/apt/-/tags/2.0.0-beta12.0.0-beta1Version 2.0.0 beta 1Chris Croomechris@webarchitects.co.ukhttps://git.coop/webarch/apt/-/tags/1.9.21.9.2Version 1.9.2<p data-sourcepos="1:1-1:73" dir="auto">Use <code data-sourcepos="1:6-1:18">include_tasks</code> for <code data-sourcepos="1:26-1:34">apt clean</code> to avoid errors for Ansible < <code data-sourcepos="1:68-1:71">2.13</code>.</p>2023-01-25T21:04:03ZChris Croomechris@webarchitects.co.ukhttps://git.coop/webarch/apt/-/tags/1.9.11.9.1Version 1.9.1<p data-sourcepos="1:1-1:110" dir="auto">Only use <code data-sourcepos="1:11-1:21">clean: true</code> with <code data-sourcepos="1:30-1:48">ansible.builtin.apt</code> module when <code data-sourcepos="1:64-1:108">ansible_version.full is version('2.13', '>=')</code>.</p>2023-01-25T20:55:31ZChris Croomechris@webarchitects.co.ukhttps://git.coop/webarch/apt/-/tags/1.9.01.9.0Version 1.9.0<p data-sourcepos="1:1-1:97" dir="auto">This release adds the removal of <code data-sourcepos="1:35-1:42">apticron</code> when <code data-sourcepos="1:51-1:62">apt_apticron</code> is <code data-sourcepos="1:69-1:73">false</code>, which is the default.</p>2022-12-24T13:30:51ZChris Croomechris@webarchitects.co.ukhttps://git.coop/webarch/apt/-/tags/1.8.01.8.0<p data-sourcepos="1:1-1:160" dir="auto">This is a minor update to change the defaults to not install <code data-sourcepos="1:63-1:70">apticron</code> as it causes a MTA to be installed which isn't wanted on things such as Mailcow servers.</p>2023-01-27T13:50:52ZChris Croomechris@webarchitects.co.ukhttps://git.coop/webarch/apt/-/tags/1.7.01.7.0<p data-sourcepos="1:1-1:117" dir="auto">This release adds three script to generate <code data-sourcepos="1:45-1:55">local_facts</code> for use when configuring <code data-sourcepos="1:84-1:86">apt</code> repos for 3rd party packages:</p>
<div class="gl-relative markdown-code-block js-markdown-code">
<pre data-sourcepos="3:1-14:3" data-canonical-lang="yml" class="code highlight js-syntax-highlight language-yaml" lang="yaml" v-pre="true"><code><span id="LC1" class="line" lang="yaml"><span class="na">ansible_local</span><span class="pi">:</span></span>
<span id="LC2" class="line" lang="yaml"> <span class="na">dpkg</span><span class="pi">:</span></span>
<span id="LC3" class="line" lang="yaml"> <span class="na">state</span><span class="pi">:</span> <span class="s">present</span></span>
<span id="LC4" class="line" lang="yaml"> <span class="na">arch</span><span class="pi">:</span> <span class="s">amd64</span></span>
<span id="LC5" class="line" lang="yaml"> <span class="na">gpg</span><span class="pi">:</span></span>
<span id="LC6" class="line" lang="yaml"> <span class="na">state</span><span class="pi">:</span> <span class="s">present</span></span>
<span id="LC7" class="line" lang="yaml"> <span class="na">version</span><span class="pi">:</span> <span class="s">2.2.27</span></span>
<span id="LC8" class="line" lang="yaml"> <span class="na">bash</span><span class="pi">:</span></span>
<span id="LC9" class="line" lang="yaml"> <span class="na">state</span><span class="pi">:</span> <span class="s">present</span></span>
<span id="LC10" class="line" lang="yaml"> <span class="na">path</span><span class="pi">:</span> <span class="s">/bin/bash</span></span></code></pre>
<copy-code></copy-code>
</div>
<p data-sourcepos="16:1-16:120" dir="auto">And is also adds a search for <code data-sourcepos="16:32-16:61">/etc/apt/sources.list.d/*.list</code> files as these need to be replaced with <code data-sourcepos="16:105-16:112">.sources</code> files.</p>2022-07-02T12:45:59ZChris Croomechris@webarchitects.co.ukhttps://git.coop/webarch/apt/-/tags/1.6.01.6.0<p data-sourcepos="1:1-1:152" dir="auto">This role now doesn't install <code data-sourcepos="1:32-1:39">apticron</code>, <code data-sourcepos="1:44-1:51">aptitude</code>, <code data-sourcepos="1:56-1:70">apt-listchanges</code>, <code data-sourcepos="1:75-1:91">apt-show-versions</code> and <code data-sourcepos="1:99-1:109">python3-apt</code> when it is run using a chroot connection.</p>2022-03-14T16:26:03ZChris Croomechris@webarchitects.co.ukhttps://git.coop/webarch/apt/-/tags/1.5.01.5.0<p data-sourcepos="1:1-1:118" dir="auto">Disable backports for Stretch, see <a data-sourcepos="1:36-1:117" href="https://backports.debian.org/news/bullseye-backports_et_all/" rel="nofollow noreferrer noopener" target="_blank">the backports news</a>.</p>2021-08-24T10:54:34ZChris Croomechris@webarchitects.co.ukhttps://git.coop/webarch/apt/-/tags/1.4.01.4.0<p data-sourcepos="1:1-1:68" dir="auto">Enable security updates for Debian Bullseye as it has been released.</p>2021-08-15T09:01:03ZChris Croomechris@webarchitects.co.uk