Skip to content

Commit

Permalink
Fix lint.
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffmcutter committed Mar 25, 2024
1 parent b042104 commit 4aa6cd9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions roles/upgrade/tasks/leapp-upgrade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@
"{{ repo_files_to_remove_at_upgrade }}"
when: leapp_upgrade_type == "custom"

- name: leapp-upgrade | Include rmmod_kernel_modules.yml
ansible.builtin.include_tasks: rmmod_kernel_modules.yml
- name: leapp-upgrade | Include rmmod-kernel-modules.yml
ansible.builtin.include_tasks: rmmod-kernel-modules.yml
loop: "{{ kernel_modules_to_unload_before_upgrade }}"

- name: leapp-upgrade | Start Leapp OS upgrade
Expand Down
4 changes: 2 additions & 2 deletions roles/upgrade/tasks/redhat-upgrade-tool-upgrade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@
state: present
when: leapp_upgrade_type == "custom"

- name: leapp-upgrade | Include rmmod_kernel_modules.yml
ansible.builtin.include_tasks: rmmod_kernel_modules.yml
- name: redhat-upgrade-tool-upgrade | Include rmmod-kernel-modules.yml
ansible.builtin.include_tasks: rmmod-kernel-modules.yml
loop: "{{ kernel_modules_to_unload_before_upgrade }}"

# --cleanup-post removes Red Hat signed RHEL 6 packages and in theory should be safe.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
- name: Unload "{{ item}}" module
- name: rmmod-kernel-modules | Unload module {{ item }}
community.general.modprobe:
name: "{{ item }}"
state: absent

...

0 comments on commit 4aa6cd9

Please sign in to comment.