Update docs, pointing to an existing chapter. (#69026)

The chapter that described more information about become to an unprivileged user has moved. This commit points to an existing chapter

Relates to #69021
pull/69047/head
Robert de Bock 5 years ago committed by GitHub
parent 648b3d43d3
commit fd8b874273
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -531,7 +531,7 @@ class ActionBase(with_metaclass(ABCMeta, object)):
# way only if the user opted in in the config file
display.warning('Using world-readable permissions for temporary files Ansible needs to create when becoming an unprivileged user. '
'This may be insecure. For information on securing this, see '
'https://docs.ansible.com/ansible/become.html#becoming-an-unprivileged-user')
'https://docs.ansible.com/ansible/user_guide/become.html#risks-of-becoming-an-unprivileged-user')
res = self._remote_chmod(remote_paths, 'a+%s' % chmod_mode)
if res['rc'] != 0:
raise AnsibleError('Failed to set file mode on remote files (rc: {0}, err: {1})'.format(res['rc'], to_native(res['stderr'])))

Loading…
Cancel
Save