forked from evolix/ansible-roles
evolinux-base: harware tasks. Add http://hwraid.le-vert.net/debian repo
on stretch for megacli packages
This commit is contained in:
parent
2aa26e2d68
commit
3532cb3f2d
|
@ -53,6 +53,17 @@
|
||||||
when: "'Hewlett-Packard Company Smart Array' in raidmodel.stdout"
|
when: "'Hewlett-Packard Company Smart Array' in raidmodel.stdout"
|
||||||
|
|
||||||
- block:
|
- block:
|
||||||
|
- name: Add HW tool GPG key
|
||||||
|
apt_key:
|
||||||
|
url: https://hwraid.le-vert.net/debian/hwraid.le-vert.net.gpg.key
|
||||||
|
when: ansible_distribution_release == "stretch"
|
||||||
|
|
||||||
|
- name: Add HW tool repository
|
||||||
|
apt_repository:
|
||||||
|
repo: 'deb http://hwraid.le-vert.net/debian stretch main'
|
||||||
|
state: present
|
||||||
|
when: ansible_distribution_release == "stretch"
|
||||||
|
|
||||||
- name: Install packages for DELL/LSI hardware
|
- name: Install packages for DELL/LSI hardware
|
||||||
apt:
|
apt:
|
||||||
name: "{{ item }}"
|
name: "{{ item }}"
|
||||||
|
|
Loading…
Reference in a new issue