Hi all,

I am facing an issue where I have written playbook with roles to configure
and install Windows machines, the problem is when I try to send a
notification email inside a task of a role, then the mail module will fail
as it tried to use Ansible connection (set to winrm).

I tried to delegate to local host and I tried also to use local_action
option, but both failed :-(

I though of move all the tasks into a main Playbook but that will need to
re-structure the whole thing.

Can anyone please suggest the best way do this ?


Thanks
Samer

-- 
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/CAPsLEuNndxY1rkWdj-LkECxp-G%2BMdsYVb9qq58nFoH%2B0vGhaZQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to