Commit graph

63 commits

Author SHA1 Message Date
Jérémy Lecour 63745c2697
apt: remove duplicate extension 2024-02-06 08:21:15 +01:00
David Prevot e14408cb05 apt: follow up from previous commit
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |2696|4|2692|6|:+1: Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/462//ansiblelint">Evolix » ansible-roles » unstable #462</a>
gitea/ansible-roles/pipeline/head This commit looks good
2024-01-29 10:07:01 +01:00
David Prevot 1924324c07 apt: No preferences needed for backports
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |2698|3|2695|1|:-1: Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/461//ansiblelint">Evolix » ansible-roles » unstable #461</a>
gitea/ansible-roles/pipeline/head This commit looks good
2024-01-29 09:49:36 +01:00
David Prevot b31aa53c81 apt: Improve check mode
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |2695|3|2692|5|:+1: Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/459//ansiblelint">Evolix » ansible-roles » unstable #459</a>
gitea/ansible-roles/pipeline/head This commit looks good
2024-01-25 13:59:36 +01:00
Jérémy Lecour 6c0ca02391
apt: add task file to install ELTS repository (default: False) 2023-12-11 15:10:10 +01:00
Jérémy Lecour db63902206
apt: use the GPG version of the key for Debian 8-9 2023-12-11 15:10:09 +01:00
David Prevot fef86b0a3f apt: Add Signed-by on Bookworm updates
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |2631|4|2627|4|:-1: Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/364//ansiblelint">Evolix » ansible-roles » unstable #364</a>
gitea/ansible-roles/pipeline/head This commit looks good
The generic keyring is used instead of the specific ones for system and
security because /usr/share/keyrings/debian-archive-bookworm-* are not
present (yet) on major upgrades. It’s not ideal, and should be replaced
afterwards.

https://wiki.evolix.org/HowtoDebian/SourcesList#bookworm-12
2023-09-29 16:09:14 +02:00
Jérémy Lecour 67c6167474
apt: Disable NonFreeFirmware warning for VM on Debian 12+ 2023-08-18 12:10:00 +02:00
David Prevot 4b4b34e849 Ensure {{ apt_keyring_dir }} directory exists
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |2612|29|2583|13|:-1: Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/305//ansiblelint">Evolix » ansible-roles » unstable #305</a>
gitea/ansible-roles/pipeline/head This commit looks good
2023-07-25 10:59:53 +02:00
Jérémy Lecour 00fe225a3c
force: [yes,no] → force [true,false]
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |2615|7|2608|177|:+1: Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/278//ansiblelint">Evolix » ansible-roles » unstable #278</a>
gitea/ansible-roles/pipeline/head This commit looks good
2023-06-28 13:25:30 +02:00
David Prevot 9f632100fb Drop useless spaces
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |2785|4|2781|6|:+1: Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/276//ansiblelint">Evolix » ansible-roles » unstable #276</a>
gitea/ansible-roles/pipeline/head This commit looks good
2023-06-23 15:12:05 +02:00
Jérémy Lecour ee21973371 Use FQCN
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |2777|524|2253|2462|:+1: Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/223//ansiblelint">Evolix » ansible-roles » unstable #223</a>
gitea/ansible-roles/pipeline/head This commit looks good
Fully Qualified Collection Name
2023-03-20 23:33:19 +01:00
Jérémy Lecour efd6e8d6b3 apt: add wrapper tasks files for backward compatibility 2023-03-20 15:43:34 +01:00
Jérémy Lecour 6f61a0744c apt: with Debian, 12 backports are installed but disabled by default 2023-03-18 15:38:05 +01:00
Jérémy Lecour 9358efedfe apt: fix many stupid mistakes 2023-03-17 22:32:11 +01:00
Jérémy Lecour 367bda528f apt: use deb822 format on Debian 12
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |4867|51|4816|17|:-1: Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/216//ansiblelint">Evolix » ansible-roles » unstable #216</a>
gitea/ansible-roles/pipeline/head This commit looks good
2023-03-17 20:05:45 +01:00
Jérémy Lecour 6f96f6b458 Use proper python Boolean 2023-03-16 14:38:32 +01:00
Jérémy Lecour fa1935e46c apt: add tools to migrate sources to deb822 format
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |4783|21|4762|7|:-1: Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/206//ansiblelint">Evolix » ansible-roles » unstable #206</a>
gitea/ansible-roles/pipeline/head This commit looks good
2023-03-15 22:50:00 +01:00
Jérémy Lecour 96a2bbecdd apt: move-apt-keyrings moved in /usr/share/scripts 2023-03-15 22:49:02 +01:00
David Prevot 12a0d8d57e Use HTTP for our new repository
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |4767|6|4761|7|:+1: Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/200//ansiblelint">Evolix » ansible-roles » unstable #200</a>
gitea/ansible-roles/pipeline/head This commit looks good
2023-03-13 11:18:33 +01:00
David Prevot 1d701b060e apt: Use pub.evolix.org instead of pub.evolix.net
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
2023-02-27 18:11:51 +01:00
Jérémy Lecour 17946f7280 apt: add move-apt-keyrings script/tasks 2023-02-27 13:58:01 +01:00
Jérémy Lecour f531460f49 Use proper keyrings directory for APT version
Debian 9 → 11 : /etc/apt/trusted.gpg.d
Debian 12 : /etc/apt/keyrings
2022-11-02 23:16:32 +01:00
Jérémy Lecour bff8fcfebb apt: upgrade packages after all the configuration is done
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/pr Build was killed
2022-01-25 18:25:47 +01:00
Jérémy Lecour 29ec7bdcf2 Remove embedded GPG keys only if legacy keyring is present
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
2021-07-04 22:08:47 +02:00
Jérémy Lecour 2f68ae5339 Preliminary support for Bullseye 2021-07-02 20:58:09 +02:00
Jérémy Lecour 454d4c6d30 explicit permissions for APT GPG keys
All checks were successful
continuous-integration/drone/push Build is passing
2021-05-26 13:47:34 +02:00
Jérémy Lecour 4d83f25ae6 fix pipefail option for shell invocations
All checks were successful
continuous-integration/drone/push Build is passing
2021-05-18 14:04:54 +02:00
Jérémy Lecour e65340cb56 Add pipefail option to shell invocations
All checks were successful
continuous-integration/drone/push Build is passing
2021-05-13 15:34:27 +02:00
Jérémy Lecour 2ed77c60f0 Improve Ansible syntax
replace « x | changed » by « x is changed »
add explicit « bool » filter
use « length » filter instead of string comparison
2021-05-09 23:06:42 +02:00
Jérémy Lecour 58bf79218f remove apt keys specifically from embedded database 2021-05-06 13:43:59 +02:00
Jérémy Lecour 7d08b0a30a rename the tasks for embedded GPG keys
All checks were successful
continuous-integration/drone/push Build is passing
2021-05-06 11:33:19 +02:00
Jérémy Lecour b41a2fd04f fix indentation
All checks were successful
continuous-integration/drone/push Build is passing
2021-05-06 11:31:42 +02:00
Jérémy Lecour 83705a48b8 remove key from trusted.gpg only if file is present
All checks were successful
continuous-integration/drone/push Build is passing
2021-05-06 10:42:12 +02:00
Jérémy Lecour 5138065059 Use 'loop' syntax instead of 'with_items' 2021-05-04 14:19:18 +02:00
Jérémy Lecour 9cdddd50a8 Move all trusted GPG keys to file repository
All checks were successful
continuous-integration/drone/push Build is passing
2021-05-03 14:23:13 +02:00
Jérémy Lecour a7971abb04 apt: store keys in /etc/apt/trusted.gpg.d in ascii format 2021-05-03 12:02:31 +02:00
Jérémy Lecour 8716ffbb1e apt: fix keyring permissions
All checks were successful
continuous-integration/drone/push Build is passing
2021-05-02 00:34:19 +02:00
Jérémy Lecour 047605a2a2 evolinux-base: use a dearmored signature, stored in the correct location
All checks were successful
continuous-integration/drone/push Build is passing
2021-05-01 17:20:06 +02:00
Jérémy Lecour 66ea07ec29 evolinux-base: copy GPG key instead of using apt-key
All checks were successful
continuous-integration/drone/push Build is passing
2021-05-01 16:50:38 +02:00
Ludovic Poujol 1d8b7c3bea apt: disable APT Periodic
This interfere with our usual workflow (listupgrade)

Note : Using 0 instead of false is intentional, The value is used by the
apt-daily script that except a "0" to disable itself.
2020-11-24 11:19:18 +01:00
Jérémy Lecour 7283e34077 Replace version_compare() with version() 2020-02-25 10:45:35 +01:00
Jérémy Lecour 07fd68b6a4 apt: fix syntax
All checks were successful
continuous-integration/drone/push Build is passing
2020-02-04 18:37:00 +01:00
Jérémy Lecour 72f5dc70f8 apt: hold packages only if package is installed
All checks were successful
continuous-integration/drone/push Build is passing
2020-02-04 18:14:57 +01:00
Jérémy Lecour 27e217467e Change "|changed" with "is changed" 2019-12-31 16:18:56 +01:00
Jérémy Lecour 79bb6103b8 Change "|version_compare" with "is version_compare" 2019-12-31 10:18:19 +01:00
Jérémy Lecour 473bcb4cd6 apt: verify that /etc/evolinux is present
All checks were successful
continuous-integration/drone/push Build is passing
2019-11-20 11:34:47 +01:00
Jérémy Lecour 772c333623 apt: remove jessie/buster sources from Gandi servers 2019-10-30 14:32:32 +01:00
Jérémy Lecour a478c773eb apt: check if cron is installed before adding a cron job 2019-09-30 14:12:38 +02:00
Jérémy Lecour c2500827e1 tags and whitespaces 2019-06-21 10:18:54 +02:00