diff options
author | sgk <sgk@riseup.net> | 2024-02-22 11:35:50 +0530 |
---|---|---|
committer | sgk <sgk@riseup.net> | 2024-02-22 11:35:50 +0530 |
commit | 2d8d73cb769a44aa8a5390a6884da35a6857f8c5 (patch) | |
tree | 7ff99faa1e87dfbd1e2996786cdfcf6586f5cf27 | |
parent | 1db78d71fbad411c66117a3a0ca9262294ad7f39 (diff) |
bug to report on float: commenting-task: float-base: Detect virtual machine"
```
TASK [float-base : Detect virtual machine] ****************************************************************************************************************************************************
fatal: [cod]: FAILED! => {"ansible_facts": {"discovered_interpreter_python": "/usr/bin/python3"}, "changed": false, "msg": "file not found: /sys/class/dmi/id/sys_vendor"}
```
seems like float_is_vm is not being used anywhere, hence commenting this task and re-running
-rw-r--r-- | float/roles/float-base/tasks/main.yml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/float/roles/float-base/tasks/main.yml b/float/roles/float-base/tasks/main.yml index 41b65d5..af9ceb8 100644 --- a/float/roles/float-base/tasks/main.yml +++ b/float/roles/float-base/tasks/main.yml @@ -40,13 +40,13 @@ - 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' }}" + ## 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. |