Skip to content

Commit

Permalink
firmware: fix task imports for ansible-lint
Browse files Browse the repository at this point in the history
ansible-lint cannot load tasks with these longer parent paths.

load-failure: [Errno 2] No such file or directory (filenotfounderror)
  • Loading branch information
ktdreyer committed Apr 24, 2023
1 parent aa4a1e7 commit d0f686d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion roles/firmware/tasks/areca/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@
(current_areca_version.stdout != latest_{{ areca_model_pretty }}_version)

- name: Run Areca firmware update playbook
import_tasks: roles/firmware/tasks/areca/areca-update.yml
import_tasks: areca/areca-update.yml
when: need_areca_update is defined and need_areca_update == true
2 changes: 1 addition & 1 deletion roles/firmware/tasks/mira/bios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@
when: current_bios_version.stdout != latest_bios_version

- name: Include BIOS update logic
import_tasks: roles/firmware/tasks/mira/bios-update.yml
import_tasks: mira/bios-update.yml
when: need_bios_update is defined and need_bios_update == true
2 changes: 1 addition & 1 deletion roles/firmware/tasks/mira/bmc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@
when: current_bmc_version.stdout != latest_bmc_version

- name: Include BMC update logic
import_tasks: roles/firmware/tasks/mira/bmc-update.yml
import_tasks: mira/bmc-update.yml
when: need_bmc_update is defined and need_bmc_update == true
2 changes: 1 addition & 1 deletion roles/firmware/tasks/smithi/bmc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@
when: current_bmc_version.stdout != latest_bmc_version

- name: Include BMC update logic
import_tasks: roles/firmware/tasks/smithi/bmc-update.yml
import_tasks: smithi/bmc-update.yml
when: need_bmc_update is defined and need_bmc_update == true

0 comments on commit d0f686d

Please sign in to comment.