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
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
36b11c4455
commit
c4023a4f49
|
@ -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
|
||||||
|
|
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue