From 8ef54759ec80b6bdecb58fb0d0262bc47c963f3d Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Thu, 11 Mar 2021 14:43:27 -0500 Subject: [PATCH] moved vs deprecated world readable tmp setting (#73825) --- changelogs/fragments/allow_world_readable_move.yml | 2 ++ lib/ansible/config/base.yml | 14 +++----------- 2 files changed, 5 insertions(+), 11 deletions(-) create mode 100644 changelogs/fragments/allow_world_readable_move.yml diff --git a/changelogs/fragments/allow_world_readable_move.yml b/changelogs/fragments/allow_world_readable_move.yml new file mode 100644 index 00000000000..2abc7c14433 --- /dev/null +++ b/changelogs/fragments/allow_world_readable_move.yml @@ -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. diff --git a/lib/ansible/config/base.yml b/lib/ansible/config/base.yml index c10dfbf302c..6c7dd399206 100644 --- a/lib/ansible/config/base.yml +++ b/lib/ansible/config/base.yml @@ -3,20 +3,12 @@ --- ALLOW_WORLD_READABLE_TMPFILES: 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 description: - - This makes the temporary files created on the machine world-readable and will issue a warning instead of failing the task. - - It is useful when becoming an unprivileged user. - env: [] - ini: - - {key: allow_world_readable_tmpfiles, section: defaults} + - 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 - yaml: {key: defaults.allow_world_readable_tmpfiles} - version_added: "2.1" ANSIBLE_CONNECTION_PATH: name: Path of ansible-connection script default: null