Skip to content
Snippets Groups Projects
Commit 7e37a32b authored by ale's avatar ale
Browse files

Remove unused VM check

The 'float_is_vm' variable is not actually used anywhere.
parent e01aa172
No related branches found
No related tags found
No related merge requests found
Pipeline #79224 passed
......@@ -40,14 +40,6 @@
- include_tasks: rollback_protection.yml
when: "git_revision != 'none' and not testing|default(True)"
# Detect virtual machines / physical hardware.
- name: Detect virtual machine
slurp:
src: "/sys/class/dmi/id/sys_vendor"
register: slurp_sysfs_dmi_vendor
- set_fact:
float_is_vm: "{{ slurp_sysfs_dmi_vendor['content'] | b64decode == 'QEMU' }}"
# Create the /usr/lib/float and /var/lib/float directories for
# internal scripts.
- file:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment