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: - 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: