From 342631679a1be08f0a137eb5c7e0786700ff746c Mon Sep 17 00:00:00 2001 From: Jose Date: Sat, 13 Dec 2025 08:30:37 +0100 Subject: [PATCH] =?UTF-8?q?refactor=20=E2=99=BB=EF=B8=8F:=20Simplify=20pla?= =?UTF-8?q?ybook?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit refactors the playbook by removing the unnecessary conditional block and import related to Dell/Lenovo firmware. This streamlines the playbook, improving readability and reducing complexity without altering the core functionality. The changes focus on code organization and simplification. --- tasks/main.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index 5a8351c..57c1395 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -21,11 +21,12 @@ ansible.builtin.debug: var: ansible_local['cpu_info'] -- name: Firmware block for x86_64 systems - when: "'Dell' in ansible_board_vendor or 'LENOVO' in ansible_board_vendor" - block: - - name: Import firmware tasks - ansible.builtin.import_tasks: additional-firmware.yml +# Not necessary for me +# - name: Firmware block for x86_64 systems +# when: "'Dell' in ansible_board_vendor or 'LENOVO' in ansible_board_vendor" +# block: +# - name: Import firmware tasks +# ansible.builtin.import_tasks: additional-firmware.yml # not sure if needed, but I'll leave it here as a reference if needed. # - name: Import color-shell tasks for the common-role