|
|
@ -660,7 +660,7 @@ class ActionBase(with_metaclass(ABCMeta, object)):
|
|
|
|
'allow_world_readable_tmpfiles is a no-op. See this '
|
|
|
|
'allow_world_readable_tmpfiles is a no-op. See this '
|
|
|
|
'URL for more details: '
|
|
|
|
'URL for more details: '
|
|
|
|
'https://docs.ansible.com/ansible/become.html'
|
|
|
|
'https://docs.ansible.com/ansible/become.html'
|
|
|
|
'#becoming-an-unprivileged-user')
|
|
|
|
'#risks-of-becoming-an-unprivileged-user')
|
|
|
|
if execute:
|
|
|
|
if execute:
|
|
|
|
group_mode = 'g+rwx'
|
|
|
|
group_mode = 'g+rwx'
|
|
|
|
else:
|
|
|
|
else:
|
|
|
@ -695,7 +695,7 @@ class ActionBase(with_metaclass(ABCMeta, object)):
|
|
|
|
'to create when becoming an unprivileged user '
|
|
|
|
'to create when becoming an unprivileged user '
|
|
|
|
'(rc: %s, err: %s}). For information on working around this, see '
|
|
|
|
'(rc: %s, err: %s}). For information on working around this, see '
|
|
|
|
'https://docs.ansible.com/ansible/become.html'
|
|
|
|
'https://docs.ansible.com/ansible/become.html'
|
|
|
|
'#becoming-an-unprivileged-user' % (
|
|
|
|
'#risks-of-becoming-an-unprivileged-user' % (
|
|
|
|
res['rc'],
|
|
|
|
res['rc'],
|
|
|
|
to_native(res['stderr'])))
|
|
|
|
to_native(res['stderr'])))
|
|
|
|
|
|
|
|
|
|
|
|