evolinux-base: fix hardware.yml (wrong repo, missing update cache)
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |2670|11|2659|8|:-1: Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/432//ansiblelint">Evolix » ansible-roles » unstable #432</a>
gitea/ansible-roles/pipeline/head This commit looks good

This commit is contained in:
William Hirigoyen 2023-12-18 11:29:40 +01:00
parent 0c09763e87
commit 9e67db57e5
2 changed files with 5 additions and 3 deletions

View file

@ -70,6 +70,7 @@ The **patch** part changes is incremented if multiple releases happen the same m
* evolinux-base: start to install linux-image-cloud-amd64 with Buster * evolinux-base: start to install linux-image-cloud-amd64 with Buster
* apt: use archive.debian.org with Stretch * apt: use archive.debian.org with Stretch
* webapps/nextcloud: fix Add Ceph volume to fstab : missing UUID= in src * webapps/nextcloud: fix Add Ceph volume to fstab : missing UUID= in src
* evolinux-base: fix hardware.yml (wrong repo, missing update cache)
### Removed ### Removed

View file

@ -6,11 +6,11 @@
tags: tags:
- packages - packages
- name: firmware-non-free components are installed (Debian 12+) - name: non-free-firmware components are installed (Debian 12+)
ansible.builtin.replace: ansible.builtin.replace:
dest: /etc/apt/sources.list.d/system.sources dest: /etc/apt/sources.list.d/system.sources
regexp: '^(Components: ((?!\bfirmware-non-free\b).)*)$' regexp: '^(Components: ((?!\bnon-free-firmware\b).)*)$'
replace: '\1 firmware-non-free' replace: '\1 non-free-firmware'
when: when:
- ansible_distribution_major_version is version('12', '>=') - ansible_distribution_major_version is version('12', '>=')
@ -48,6 +48,7 @@
- firmware-linux-nonfree - firmware-linux-nonfree
- intel-microcode - intel-microcode
state: present state: present
update_cache: True
tags: tags:
- packages - packages