Skip to content
This repository has been archived by the owner on Feb 28, 2023. It is now read-only.

Commit

Permalink
Fix when using with_item
Browse files Browse the repository at this point in the history
  • Loading branch information
JGoutin committed Feb 17, 2022
1 parent b50572e commit 00e7f0e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tasks/debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
- name: linux-image
when: true
- name: linux-headers
when: install_kernel_headers | bool
when: "{{ install_kernel_headers | bool }}"

- name: Ensure any other kernel packages are removed
apt:
Expand Down
4 changes: 2 additions & 2 deletions tasks/redhat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@
- name: kernel
when: true
- name: kernel-devel
when: install_kernel_headers | bool
when: "{{ install_kernel_headers | bool }}"
- name: kernel-headers
when: install_kernel_headers | bool
when: "{{ install_kernel_headers | bool }}"

0 comments on commit 00e7f0e

Please sign in to comment.