Merge pull request 'release 22.06.3' (#157) from unstable into stable
Reviewed-on: #157
This commit is contained in:
commit
5581801cc9
|
@ -20,6 +20,12 @@ The **patch** part changes is incremented if multiple releases happen the same m
|
||||||
|
|
||||||
### Security
|
### Security
|
||||||
|
|
||||||
|
## [22.06.3] 2022-06-17
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
* evolinux-base: blacklist and do not install megaclisas-status package on incompatible servers
|
||||||
|
|
||||||
## [22.06.2] 2022-06-10
|
## [22.06.2] 2022-06-10
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
|
@ -157,6 +157,43 @@
|
||||||
- "'Hewlett-Packard Company Smart Array' in raidmodel.stdout"
|
- "'Hewlett-Packard Company Smart Array' in raidmodel.stdout"
|
||||||
- evolinux_packages_hardware_raid | bool
|
- evolinux_packages_hardware_raid | bool
|
||||||
|
|
||||||
|
## LSI MegaRAID 12GSAS/PCIe Secure SAS39xx
|
||||||
|
# This is still incompatible with Debian
|
||||||
|
|
||||||
|
- name: Check if PERC HBA11 device is present
|
||||||
|
shell: "lspci | grep -qE 'MegaRAID.*SAS39xx'"
|
||||||
|
check_mode: no
|
||||||
|
register: perc_hba11_search
|
||||||
|
failed_when: False
|
||||||
|
changed_when: False
|
||||||
|
tags:
|
||||||
|
- packages
|
||||||
|
|
||||||
|
- name: MegaCLI SAS package must not be installed if PERC HBA11 is present
|
||||||
|
block:
|
||||||
|
- name: Disable harware RAID tasks
|
||||||
|
set_fact:
|
||||||
|
evolinux_packages_hardware_raid: False
|
||||||
|
|
||||||
|
- name: blacklist mageclisas-status package
|
||||||
|
blockinfile:
|
||||||
|
dest: /etc/apt/preferences.d/0-blacklist
|
||||||
|
create: yes
|
||||||
|
marker: "## {mark} MEGACLISAS-STATUS BLACKLIST"
|
||||||
|
block: |
|
||||||
|
# DO NOT INSTALL THESE PACKAGES ON THIS SERVER
|
||||||
|
Package: megacli megaclisas-status
|
||||||
|
Pin: version *
|
||||||
|
Pin-Priority: -100
|
||||||
|
|
||||||
|
- name: Remove MegaCLI packages
|
||||||
|
apt:
|
||||||
|
name:
|
||||||
|
- megacli
|
||||||
|
- megaclisas-status
|
||||||
|
state: absent
|
||||||
|
when: perc_hba11_search.rc == 0
|
||||||
|
|
||||||
- name: MegaCLI SAS package is present
|
- name: MegaCLI SAS package is present
|
||||||
block:
|
block:
|
||||||
- name: HWRaid embedded GPG key is absent
|
- name: HWRaid embedded GPG key is absent
|
||||||
|
|
Loading…
Reference in a new issue