On 02.06.16 14:58 Colin MacKenzie, III wrote:

> I can send email fine from the command line like this:
> 
> uuencode /Users/mackc/ansible/reports/areport areport | mail -s "Company 
> Report" [email protected]

I think you are using ansible's mail module as a local action, while
on the command line you are using the mail executable. And I guess the
latter works without a fully configured SMTP-server on your macbook...

Can you use the full path to the mail executable in the local_action?
I'll have a look at the docs.

Johannes


-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/57504B75.3060206%40ojkastl.de.
For more options, visit https://groups.google.com/d/optout.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to