fix(ansible): removed linux-modules-extra-raspi due to breakage
This commit is contained in:
1 parent
7ce7fb27b2
commit
375d41d313
1 file changed
-19
@@ -37,25 +37,6 @@
|
|||||||
retries: 5
|
retries: 5
|
||||||
until: apt_install_common is success
|
until: apt_install_common is success
|
||||||
|
|
||||||
- name: Check if Raspberry Pi
|
|
||||||
command: grep -q "Raspberry Pi" /proc/cpuinfo
|
|
||||||
ignore_errors: true
|
|
||||||
register: is_raspberry
|
|
||||||
|
|
||||||
- name: Install raspberry specific packages for Ubuntu 21 or greater
|
|
||||||
ansible.builtin.apt:
|
|
||||||
name:
|
|
||||||
- linux-modules-extra-raspi
|
|
||||||
install_recommends: false
|
|
||||||
update_cache: true
|
|
||||||
cache_valid_time: 3600
|
|
||||||
autoclean: true
|
|
||||||
autoremove: true
|
|
||||||
register: apt_install_raspberry
|
|
||||||
retries: 5
|
|
||||||
until: apt_install_raspberry is success
|
|
||||||
when: is_raspberry and (ansible_lsb.major_release|int >= 21)
|
|
||||||
|
|
||||||
- name: Copy 20auto-upgrades unattended-upgrades config
|
- name: Copy 20auto-upgrades unattended-upgrades config
|
||||||
ansible.builtin.blockinfile:
|
ansible.builtin.blockinfile:
|
||||||
path: /etc/apt/apt.conf.d/20auto-upgrades
|
path: /etc/apt/apt.conf.d/20auto-upgrades
|
||||||
|
|||||||
Reference in new issue
Block a user