summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAbhijeet Kasurde <akasurde@redhat.com>2024-11-12 16:13:45 +0100
committerGitHub <noreply@github.com>2024-11-12 16:13:45 +0100
commit32eacecca9ff1682c82be61064805f87430b1e24 (patch)
treedfb529dbd9e1fd6c960708d2370bc9e73eeb21a0
parentAdd tests for deprecations (#84284) (diff)
downloadansible-32eacecca9ff1682c82be61064805f87430b1e24.tar.xz
ansible-32eacecca9ff1682c82be61064805f87430b1e24.zip
Deprecated libvirt_lxc_noseclabel config (#84287)
* Deprecated libvirt_lxc_noseclabel config * deprecate moved libvirt_lxc_noseclabel config Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com> * Make CI green I Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com> --------- Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
-rw-r--r--changelogs/fragments/libvirt_lxc.yml3
-rw-r--r--lib/ansible/config/base.yml5
2 files changed, 7 insertions, 1 deletions
diff --git a/changelogs/fragments/libvirt_lxc.yml b/changelogs/fragments/libvirt_lxc.yml
new file mode 100644
index 0000000000..7d57575698
--- /dev/null
+++ b/changelogs/fragments/libvirt_lxc.yml
@@ -0,0 +1,3 @@
+---
+bugfixes:
+ - base.yml - deprecated libvirt_lxc_noseclabel config.
diff --git a/lib/ansible/config/base.yml b/lib/ansible/config/base.yml
index f0d6f2b684..24f9464d0a 100644
--- a/lib/ansible/config/base.yml
+++ b/lib/ansible/config/base.yml
@@ -782,7 +782,6 @@ DEFAULT_KEEP_REMOTE_FILES:
- {key: keep_remote_files, section: defaults}
type: boolean
DEFAULT_LIBVIRT_LXC_NOSECLABEL:
- # TODO: move to plugin
name: No security label on Lxc
default: False
description:
@@ -794,6 +793,10 @@ DEFAULT_LIBVIRT_LXC_NOSECLABEL:
- {key: libvirt_lxc_noseclabel, section: selinux}
type: boolean
version_added: "2.1"
+ deprecated:
+ why: This option was moved to the plugin itself
+ version: "2.22"
+ alternatives: Use the option from the plugin itself.
DEFAULT_LOAD_CALLBACK_PLUGINS:
name: Load callbacks for adhoc
default: False