From c4023a4f496e714879137b8020caec515eba7773 Mon Sep 17 00:00:00 2001 From: "William Hirigoyen (Evolix)" Date: Fri, 3 Jun 2022 14:32:32 +0200 Subject: [PATCH] =?UTF-8?q?D=C3=A9tecte=20automatiquement=20si=20le=20serv?= =?UTF-8?q?eur=20est=20baremetal=20pour=20installer=20les=20outils=20hw,?= =?UTF-8?q?=20suppression=20de=20la=20variable=20evolinux=5Fpackages=5Fhar?= =?UTF-8?q?dware=20inutile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- evolinux-base/defaults/main.yml | 3 +-- evolinux-base/tasks/packages.yml | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/evolinux-base/defaults/main.yml b/evolinux-base/defaults/main.yml index 9debc8ab..6f28fd5e 100644 --- a/evolinux-base/defaults/main.yml +++ b/evolinux-base/defaults/main.yml @@ -77,7 +77,6 @@ evolinux_packages_include: True evolinux_packages_system: True evolinux_packages_diagnostic: True -evolinux_packages_hardware: True evolinux_packages_hardware_raid: True evolinux_packages_common: True evolinux_packages_stretch: True @@ -223,4 +222,4 @@ evolinux_generateldif_include: True evolinux_cron_checkhpraid_frequency: daily # Motd -evolinux_motd_include: True \ No newline at end of file +evolinux_motd_include: True diff --git a/evolinux-base/tasks/packages.yml b/evolinux-base/tasks/packages.yml index f4eafc6c..b4a1d666 100644 --- a/evolinux-base/tasks/packages.yml +++ b/evolinux-base/tasks/packages.yml @@ -44,7 +44,7 @@ - hdparm - smartmontools - lm-sensors - when: evolinux_packages_hardware | bool + when: ansible_virtualization_role == "host" - name: Install/Update common tools apt: