Merge "Fix Apparmor libvirt profile removal"
This commit is contained in:
commit
9fcbbfad75
@ -201,7 +201,11 @@
|
|||||||
when: ansible_facts.distribution == "Ubuntu"
|
when: ansible_facts.distribution == "Ubuntu"
|
||||||
|
|
||||||
- name: Remove apparmor profile for libvirt
|
- name: Remove apparmor profile for libvirt
|
||||||
command: apparmor_parser -R /etc/apparmor.d/usr.sbin.libvirtd
|
shell: |
|
||||||
|
apparmor_parser -v -R /etc/apparmor.d/usr.sbin.libvirtd && \
|
||||||
|
ln -vsf /etc/apparmor.d/usr.sbin.libvirtd /etc/apparmor.d/disable
|
||||||
|
args:
|
||||||
|
executable: /bin/bash
|
||||||
become: True
|
become: True
|
||||||
when:
|
when:
|
||||||
- ansible_facts.distribution == "Ubuntu"
|
- ansible_facts.distribution == "Ubuntu"
|
||||||
|
@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
Fixes the baremetal role to avoid an error "Unable to remove "libvirtd".
|
||||||
|
Now the symlink /etc/apparmor.d/disable/usr.sbin.libvirtd is created by
|
||||||
|
the role.
|
||||||
|
`LP#1960302 <https://bugs.launchpad.net/kolla-ansible/+bug/1960302>`__
|
Loading…
x
Reference in New Issue
Block a user