File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change 55 name : libvirtd
66 state : restarted
77 become : true
8+
9+ - name : reload libvirt qemu apparmor profile template
10+ command : apparmor_parser -r /etc/apparmor.d/libvirt/TEMPLATE.qemu
11+ become : true
Original file line number Diff line number Diff line change 2525 vars :
2626 libvirt_env_path : " {{ '/etc/default/libvirt-bin' if libvirt_bin_stat.stat.exists else '/etc/default/libvirtd' }}"
2727 tags : vars
28+
29+ - name : Configure libvirt QEMU apparmor profile template
30+ lineinfile :
31+ path : " /etc/apparmor.d/libvirt/TEMPLATE.qemu"
32+ insertbefore : " ^}"
33+ line : " {{ item.path }}/** rwk,"
34+ become : true
35+ when : item.type == "dir"
36+ loop : " {{ libvirt_host_pools | flatten(levels=1) }}"
37+ notify :
38+ - reload libvirt qemu apparmor profile template
You can’t perform that action at this time.
0 commit comments