Merge branch 'unstable' into bullseye
This commit is contained in:
commit
129a772441
|
@ -29,7 +29,9 @@
|
||||||
# HP gen <10: Hewlett-Packard Company Smart Array
|
# HP gen <10: Hewlett-Packard Company Smart Array
|
||||||
# HP gen >=10: Adaptec Smart Storage PQI
|
# HP gen >=10: Adaptec Smart Storage PQI
|
||||||
- name: Detect if RAID is installed
|
- name: Detect if RAID is installed
|
||||||
shell: "set -o pipefail && lspci -q | grep -e 'RAID bus controller' -e 'Serial Attached SCSI controller'"
|
shell:
|
||||||
|
cmd: "set -o pipefail && lspci -q | grep -e 'RAID bus controller' -e 'Serial Attached SCSI controller'"
|
||||||
|
executable: /bin/bash
|
||||||
check_mode: no
|
check_mode: no
|
||||||
register: raidmodel
|
register: raidmodel
|
||||||
changed_when: "'FAILED' in raidmodel.stdout"
|
changed_when: "'FAILED' in raidmodel.stdout"
|
||||||
|
@ -114,9 +116,7 @@
|
||||||
id: "23B3D3B4"
|
id: "23B3D3B4"
|
||||||
keyring: /etc/apt/trusted.gpg
|
keyring: /etc/apt/trusted.gpg
|
||||||
state: absent
|
state: absent
|
||||||
when:
|
when: _trusted_gpg_keyring.stat.exists
|
||||||
- trusted_gpg_keyring.stat.present
|
|
||||||
- ansible_distribution_major_version is version('9', '>=')
|
|
||||||
|
|
||||||
- name: HWRaid GPG key is installed
|
- name: HWRaid GPG key is installed
|
||||||
copy:
|
copy:
|
||||||
|
@ -151,6 +151,6 @@
|
||||||
name: megaclisas-statusd
|
name: megaclisas-statusd
|
||||||
enabled: true
|
enabled: true
|
||||||
state: started
|
state: started
|
||||||
when: "'MegaRAID SAS' in raidmodel.stdout"
|
when: "'MegaRAID' in raidmodel.stdout"
|
||||||
|
|
||||||
- meta: flush_handlers
|
- meta: flush_handlers
|
||||||
|
|
Loading…
Reference in a new issue