evolinux-base: megacli packages are not authenticated

This commit is contained in:
Jérémy Lecour 2016-12-23 14:11:11 +01:00 committed by Jérémy Lecour
parent 0ebd9cc147
commit a0a5920f99

View file

@ -50,12 +50,17 @@
- block:
- name: Install packages for DELL/LSI hardware
apt:
name: "{{ item }}"
state: present
with_items:
- megacli
- megaclisas-statusd
## With Ansible 2.0, the apt module can't install unauthenticated packages
# apt:
# name: "{{ item }}"
# state: present
# with_items:
# - 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
template: