Commit 5c3e8fe2 authored by Robin Schneider's avatar Robin Schneider

[debops.kmod] Fix undefined variable abortion when tasks are skipped

Introduced in: 70d2dba1
parent 2418b9d1
......@@ -38,6 +38,7 @@
include_tasks: 'modprobe.yml'
loop_control:
loop_var: 'module'
register: kmod__register_modprobe_tasks
with_items: '{{ kmod__combined_modules | parse_kv_items }}'
when: kmod__enabled|bool
......@@ -60,5 +61,4 @@
- name: Update Ansible facts if the list of load kernel modules might have changed
action: setup
when: (kmod__register_module_config_delete is changed or
kmod__register_module_config_create is changed)
when: kmod__register_modprobe_tasks is changed
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment