moved vs deprecated world readable tmp setting (#73825)

This commit is contained in:
Brian Coca 2021-03-11 14:43:27 -05:00 committed by GitHub
parent 27eaab310b
commit 8ef54759ec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 11 deletions

View file

@ -0,0 +1,2 @@
bugfixes:
- ALLOW_WORLD_READABLE_TMP, switched to 'moved' message as 'deprecation' is misleading since config settings still work w/o needing change.

View file

@ -3,20 +3,12 @@
--- ---
ALLOW_WORLD_READABLE_TMPFILES: ALLOW_WORLD_READABLE_TMPFILES:
name: Allow world-readable temporary files name: Allow world-readable temporary files
deprecated:
why: moved to a per plugin approach that is more flexible
version: "2.14"
alternatives: mostly the same config will work, but now controlled from the plugin itself and not using the general constant.
default: False default: False
description: description:
- This makes the temporary files created on the machine world-readable and will issue a warning instead of failing the task. - This setting has been moved to the individual shell plugins as a plugin option :ref:`shell_plugins`.
- It is useful when becoming an unprivileged user. - The existing configuration settings are still accepted with the shell plugin adding additional options, like variables.
env: [] - This message will be removed in 2.14.
ini:
- {key: allow_world_readable_tmpfiles, section: defaults}
type: boolean type: boolean
yaml: {key: defaults.allow_world_readable_tmpfiles}
version_added: "2.1"
ANSIBLE_CONNECTION_PATH: ANSIBLE_CONNECTION_PATH:
name: Path of ansible-connection script name: Path of ansible-connection script
default: null default: null