[stable-2.7] Fix issues with PLUGIN_FILTERS_CFG config handling (#45994)
* Ensure that the value of PLUGIN_FILTERS_CFG is treated as type=path, and that we use the standard section of 'defaults' instead of 'default'
* deprecate the default section
* Don't add version_added for the corrected section
(cherry picked from commit 172137c
)
Co-authored-by: Matt Martz <matt@sivel.net>
This commit is contained in:
parent
8da4113ec0
commit
fe528af1e0
2 changed files with 9 additions and 0 deletions
2
changelogs/fragments/plugin-filters-cfg.yaml
Normal file
2
changelogs/fragments/plugin-filters-cfg.yaml
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
bugfixes:
|
||||||
|
- PLUGIN_FILTERS_CFG - Ensure that the value is treated as type=path, and that we use the standard section of ``defaults`` instead of ``default`` (https://github.com/ansible/ansible/pull/45994)
|
|
@ -1550,6 +1550,13 @@ PLUGIN_FILTERS_CFG:
|
||||||
ini:
|
ini:
|
||||||
- key: plugin_filters_cfg
|
- key: plugin_filters_cfg
|
||||||
section: default
|
section: default
|
||||||
|
deprecated:
|
||||||
|
why: Specifying "plugin_filters_cfg" under the "default" section is deprecated
|
||||||
|
version: "2.12"
|
||||||
|
alternatives: the "defaults" section instead
|
||||||
|
- key: plugin_filters_cfg
|
||||||
|
section: defaults
|
||||||
|
type: path
|
||||||
RETRY_FILES_ENABLED:
|
RETRY_FILES_ENABLED:
|
||||||
name: Retry files
|
name: Retry files
|
||||||
default: True
|
default: True
|
||||||
|
|
Loading…
Reference in a new issue