diff --git a/changelogs/fragments/77395-remove-libvirt_lxc_noseclabel.yml b/changelogs/fragments/77395-remove-libvirt_lxc_noseclabel.yml new file mode 100644 index 00000000000..d97614275e5 --- /dev/null +++ b/changelogs/fragments/77395-remove-libvirt_lxc_noseclabel.yml @@ -0,0 +1,2 @@ +removed_features: + - Remove deprecated ``LIBVIRT_LXC_NOSECLABEL`` environment variable (https://github.com/ansible/ansible/issues/77395) diff --git a/lib/ansible/config/base.yml b/lib/ansible/config/base.yml index bc3367744db..383e9221fdf 100644 --- a/lib/ansible/config/base.yml +++ b/lib/ansible/config/base.yml @@ -784,11 +784,6 @@ DEFAULT_LIBVIRT_LXC_NOSECLABEL: - "This setting causes libvirt to connect to lxc containers by passing --noseclabel to virsh. This is necessary when running on systems which do not have SELinux." env: - - name: LIBVIRT_LXC_NOSECLABEL - deprecated: - why: environment variables without ``ANSIBLE_`` prefix are deprecated - version: "2.12" - alternatives: the ``ANSIBLE_LIBVIRT_LXC_NOSECLABEL`` environment variable - name: ANSIBLE_LIBVIRT_LXC_NOSECLABEL ini: - {key: libvirt_lxc_noseclabel, section: selinux}