summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMartin Krizek <martin.krizek@gmail.com>2022-03-30 15:46:57 +0200
committerGitHub <noreply@github.com>2022-03-30 09:46:57 -0400
commite080bae766fdf98a659cc96a0160ca17f6b4c2cd (patch)
tree8b6b7afb085afa12c238fbc9a39ab7888c30c3a8 /lib
parent60b4200bc6fee69384da990bb7884f58577fc724 (diff)
downloadansible-e080bae766fdf98a659cc96a0160ca17f6b4c2cd.tar.gz
Remove deprecated ALLOW_WORLD_READABLE_TMPFILES config option (#77410)
Fixes #77393
Diffstat (limited to 'lib')
-rw-r--r--lib/ansible/config/base.yml12
-rw-r--r--lib/ansible/plugins/action/__init__.py2
2 files changed, 1 insertions, 13 deletions
diff --git a/lib/ansible/config/base.yml b/lib/ansible/config/base.yml
index b58ecd74bf..c8d4459834 100644
--- a/lib/ansible/config/base.yml
+++ b/lib/ansible/config/base.yml
@@ -1,18 +1,6 @@
# Copyright (c) 2017 Ansible Project
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
---
-ALLOW_WORLD_READABLE_TMPFILES:
- name: Allow world-readable temporary files
- description:
- - This setting has been moved to the individual shell plugins as a plugin option :ref:`shell_plugins`.
- - The existing configuration settings are still accepted with the shell plugin adding additional options, like variables.
- - This message will be removed in 2.14.
- type: boolean
- default: False
- deprecated: # (kept for autodetection and removal, deprecation is irrelevant since w/o settings this can never show runtime msg)
- why: moved to shell plugins
- version: "2.14"
- alternatives: 'world_readable_tmp'
ANSIBLE_CONNECTION_PATH:
name: Path of ansible-connection script
default: null
diff --git a/lib/ansible/plugins/action/__init__.py b/lib/ansible/plugins/action/__init__.py
index 9ee9a1c122..87d85c4fb5 100644
--- a/lib/ansible/plugins/action/__init__.py
+++ b/lib/ansible/plugins/action/__init__.py
@@ -722,7 +722,7 @@ class ActionBase(ABC):
# create an extra round trip.
#
# Also note that due to the above, this can prevent the
- # ALLOW_WORLD_READABLE_TMPFILES logic below from ever getting called. We
+ # world_readable_temp logic below from ever getting called. We
# leave this up to the user to rectify if they have both of these
# features enabled.
group = self.get_shell_option('common_remote_group')