forked from evolix/ansible-roles
evolinux-base: megacli packages are not authenticated
This commit is contained in:
parent
0ebd9cc147
commit
a0a5920f99
|
@ -50,12 +50,17 @@
|
||||||
|
|
||||||
- block:
|
- block:
|
||||||
- name: Install packages for DELL/LSI hardware
|
- name: Install packages for DELL/LSI hardware
|
||||||
apt:
|
## With Ansible 2.0, the apt module can't install unauthenticated packages
|
||||||
name: "{{ item }}"
|
# apt:
|
||||||
state: present
|
# name: "{{ item }}"
|
||||||
with_items:
|
# state: present
|
||||||
- megacli
|
# with_items:
|
||||||
- megaclisas-statusd
|
# - megacli
|
||||||
|
# - megaclisas-status
|
||||||
|
command: "apt-get install -yq --allow-unauthenticated megacli megaclisas-status"
|
||||||
|
register: install_megacli
|
||||||
|
changed_when: not (install_megacli.stdout | search("0 upgraded") and install_megacli.stdout | search("0 newly installed"))
|
||||||
|
|
||||||
|
|
||||||
- name: Configure packages for DELL/LSI hardware
|
- name: Configure packages for DELL/LSI hardware
|
||||||
template:
|
template:
|
||||||
|
|
Loading…
Reference in a new issue