refactor ♻️: Simplify playbook

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.
This commit is contained in:
2025-12-13 08:30:37 +01:00
parent 30aafcbc6a
commit 342631679a

View File

@@ -21,11 +21,12 @@
ansible.builtin.debug: ansible.builtin.debug:
var: ansible_local['cpu_info'] var: ansible_local['cpu_info']
- name: Firmware block for x86_64 systems # Not necessary for me
when: "'Dell' in ansible_board_vendor or 'LENOVO' in ansible_board_vendor" # - name: Firmware block for x86_64 systems
block: # when: "'Dell' in ansible_board_vendor or 'LENOVO' in ansible_board_vendor"
- name: Import firmware tasks # block:
ansible.builtin.import_tasks: additional-firmware.yml # - 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. # not sure if needed, but I'll leave it here as a reference if needed.
# - name: Import color-shell tasks for the common-role # - name: Import color-shell tasks for the common-role