Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove deprecated default.plugin_filters_cfg config option #77429

Merged
merged 2 commits into from
Mar 31, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
removed_features:
- Remove deprecated ``plugin_filters_cfg`` config option from ``default`` section (https://github.com/ansible/ansible/issues/77398)
6 changes: 0 additions & 6 deletions lib/ansible/config/base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1830,12 +1830,6 @@ PLUGIN_FILTERS_CFG:
- "See :ref:`plugin_filtering_config` for details of the filter file's format."
- " The default is /etc/ansible/plugin_filters.yml"
ini:
- key: plugin_filters_cfg
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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[default]
[defaults]
retry_files_enabled = False
plugin_filters_cfg = ./filter_lookup.yml

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[default]
[defaults]
retry_files_enabled = False
plugin_filters_cfg = ./filter_modules.yml

2 changes: 1 addition & 1 deletion test/integration/targets/plugin_filtering/filter_ping.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[default]
[defaults]
retry_files_enabled = False
plugin_filters_cfg = ./filter_ping.yml

2 changes: 1 addition & 1 deletion test/integration/targets/plugin_filtering/filter_stat.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[default]
[defaults]
retry_files_enabled = False
plugin_filters_cfg = ./filter_stat.yml

2 changes: 1 addition & 1 deletion test/integration/targets/plugin_filtering/no_filters.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[default]
[defaults]
retry_files_enabled = False
plugin_filters_cfg = ./empty.yml