summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Krizek <martin.krizek@gmail.com>2023-10-02 21:57:17 +0200
committerGitHub <noreply@github.com>2023-10-02 21:57:17 +0200
commite756e359e0c1946fe5a6e9059a3108d20e32440d (patch)
tree133a4a9377a059ffb27054968add916b1e81522b
parentImport role public (#81772) (diff)
downloadansible-e756e359e0c1946fe5a6e9059a3108d20e32440d.tar.xz
ansible-e756e359e0c1946fe5a6e9059a3108d20e32440d.zip
Remove deprecated JINJA2_NATIVE_WARNING env var (#81720)
Fixes #81714
-rw-r--r--changelogs/fragments/81714-remove-deprecated-jinja2_native_warning.yml2
-rw-r--r--lib/ansible/config/base.yml13
2 files changed, 2 insertions, 13 deletions
diff --git a/changelogs/fragments/81714-remove-deprecated-jinja2_native_warning.yml b/changelogs/fragments/81714-remove-deprecated-jinja2_native_warning.yml
new file mode 100644
index 0000000000..53f9ce330a
--- /dev/null
+++ b/changelogs/fragments/81714-remove-deprecated-jinja2_native_warning.yml
@@ -0,0 +1,2 @@
+removed_features:
+ - Remove deprecated JINJA2_NATIVE_WARNING environment variable (https://github.com/ansible/ansible/issues/81714)
diff --git a/lib/ansible/config/base.yml b/lib/ansible/config/base.yml
index a37839523c..255a1f861f 100644
--- a/lib/ansible/config/base.yml
+++ b/lib/ansible/config/base.yml
@@ -1710,19 +1710,6 @@ INVENTORY_UNPARSED_IS_FAILED:
ini:
- {key: unparsed_is_failed, section: inventory}
type: bool
-JINJA2_NATIVE_WARNING:
- name: Running older than required Jinja version for jinja2_native warning
- default: True
- description: Toggle to control showing warnings related to running a Jinja version
- older than required for jinja2_native.
- env:
- - name: ANSIBLE_JINJA2_NATIVE_WARNING
- deprecated:
- why: This option is no longer used in the Ansible Core code base.
- version: "2.17"
- ini:
- - {key: jinja2_native_warning, section: defaults}
- type: boolean
MAX_FILE_SIZE_FOR_DIFF:
name: Diff maximum file size
default: 104448