Détecte automatiquement si le serveur est baremetal pour installer les outils hw, suppression de la variable evolinux_packages_hardware inutile
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
William Hirigoyen (Evolix) 2022-06-03 14:32:32 +02:00
parent 36b11c4455
commit c4023a4f49
2 changed files with 2 additions and 3 deletions

View file

@ -77,7 +77,6 @@ evolinux_packages_include: True
evolinux_packages_system: True evolinux_packages_system: True
evolinux_packages_diagnostic: True evolinux_packages_diagnostic: True
evolinux_packages_hardware: True
evolinux_packages_hardware_raid: True evolinux_packages_hardware_raid: True
evolinux_packages_common: True evolinux_packages_common: True
evolinux_packages_stretch: True evolinux_packages_stretch: True
@ -223,4 +222,4 @@ evolinux_generateldif_include: True
evolinux_cron_checkhpraid_frequency: daily evolinux_cron_checkhpraid_frequency: daily
# Motd # Motd
evolinux_motd_include: True evolinux_motd_include: True

View file

@ -44,7 +44,7 @@
- hdparm - hdparm
- smartmontools - smartmontools
- lm-sensors - lm-sensors
when: evolinux_packages_hardware | bool when: ansible_virtualization_role == "host"
- name: Install/Update common tools - name: Install/Update common tools
apt: apt: