Skip to content

Commit 83f6590

Browse files
committed
Fix AppArmor configuration without daemon install
1 parent a8ccd60 commit 83f6590

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tasks/post-install-Debian.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@
3232
insertbefore: "^}"
3333
line: " {{ item.path }}/** rwk,"
3434
become: true
35-
when: item.type == "dir"
35+
when:
36+
- item.type == "dir"
37+
- libvirt_host_install_daemon | bool
3638
loop: "{{ libvirt_host_pools | flatten(levels=1) }}"
3739
notify:
3840
- reload libvirt qemu apparmor profile template

0 commit comments

Comments
 (0)