1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

made error slightly more neutral in case of 'local'

This commit is contained in:
Brian Coca 2017-03-15 09:35:43 -04:00
parent 869449e288
commit 7b0f765a57

View file

@ -266,7 +266,7 @@ class ActionBase(with_metaclass(ABCMeta, object)):
output = result['stderr']
else:
output = ('Authentication or permission failure.'
' In some cases, you may have been able to authenticate and did not have permissions on the remote directory.'
' In some cases, you may have been able to authenticate and did not have permissions on the target directory.'
' Consider changing the remote temp path in ansible.cfg to a path rooted in "/tmp".'
' Failed command was: %s, exited with result %d' % (cmd, result['rc']))
if 'stdout' in result and result['stdout'] != u'':