diff options
author | Brian Coca <bcoca@users.noreply.github.com> | 2021-03-11 20:43:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-11 20:43:27 +0100 |
commit | 8ef54759ec80b6bdecb58fb0d0262bc47c963f3d (patch) | |
tree | 00e863b1cc81149d1489fde52f0fe822e949d448 | |
parent | Add direct link to using multiple inventory sources (#73680) (diff) | |
download | ansible-8ef54759ec80b6bdecb58fb0d0262bc47c963f3d.tar.xz ansible-8ef54759ec80b6bdecb58fb0d0262bc47c963f3d.zip |
moved vs deprecated world readable tmp setting (#73825)
-rw-r--r-- | changelogs/fragments/allow_world_readable_move.yml | 2 | ||||
-rw-r--r-- | lib/ansible/config/base.yml | 14 |
2 files changed, 5 insertions, 11 deletions
diff --git a/changelogs/fragments/allow_world_readable_move.yml b/changelogs/fragments/allow_world_readable_move.yml new file mode 100644 index 0000000000..2abc7c1443 --- /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 c10dfbf302..6c7dd39920 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 |