feat(ci): comply with linter

This commit is contained in:
Simon Cornet 2025-03-31 18:24:43 +02:00
commit 80292a63a9
12 changed files with 23 additions and 45 deletions

View file

@ -2,6 +2,7 @@
# apt cleanup
- name: "apt cleanup"
tags: "apt-cleanup"
block:
# clean apt cache
@ -18,5 +19,3 @@
changed_when: false
failed_when: false
when: 'type == "vm"'
tags: "apt-cleanup"

View file

@ -2,6 +2,7 @@
# apt config
- name: "apt config"
tags: ["apt"]
block:
# configure apt auto update
@ -22,6 +23,3 @@
group: "root"
mode: "0644"
when: 'ansible_os_family == "Debian"'
tags:
- "apt"

View file

@ -2,6 +2,7 @@
# apt packages
- name: "apt packages"
tags: ["apt"]
block:
# install packages
@ -25,6 +26,3 @@
loop: "{{ apt_default_packages_delete }}"
loop_control:
loop_var: "apt_default_delete"
tags:
- "apt"

View file

@ -2,6 +2,7 @@
# manage apt sources
- name: "manage apt sources"
tags: ["apt"]
block:
# configure apt sources
@ -38,6 +39,3 @@
when:
- 'ansible_distribution == "Ubuntu"'
- 'ansible_distribution_major_version >= "24"'
tags:
- "apt"