Hi..
Yes it is running in same playbook. On Thu, Oct 14, 2021, 10:21 AM Dick Visser <[email protected]> wrote: > This is just the one mail task. > It must be part of a playbook, where other things happen as well, and > which will reveal the cause. > > Also, you say "I am trying to send one email to team after job is > successfully completed". > I guess this "job" is the running of the playbook? > > > > > On Thu, 14 Oct 2021 at 15:12, Raj <[email protected]> wrote: > >> >> Hi Racke, >> >> This is my code >> >> - name: Sending email to about SSL scan >> mail: >> host: xxxxx >> port: 25 >> subject: xxxx >> body: xxxx >> from: xxx >> to: >> # - xxxx >> - xxxx >> delegate_to: localhost >> run_once: true >> On Thursday, October 14, 2021 at 1:28:05 AM UTC-4 [email protected] wrote: >> >>> On 13/10/2021 22:13, Raj wrote: >>> > Hi All, >>> > >>> > I am trying to send one email to team after job is successfully >>> completed. Issue is playbook sending (if inventory have 100 servers ). It >>> is sending 100 emails. >>> > >>> > I tried in my code: delegate_to: localhost and run_once: true it >>> doesn't help please provide your inputs it really helpful . >>> >>> That should work. Please provide your code. >>> >>> Regards >>> >>> Racke >>> >>> > >>> > TIA >>> > Raja >>> > -- >>> > 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] <mailto: >>> [email protected]>. >>> > To view this discussion on the web visit >>> https://groups.google.com/d/msgid/ansible-project/b69b5eb1-7de3-4bce-80fd-2ca824fd07a0n%40googlegroups.com >>> < >>> https://groups.google.com/d/msgid/ansible-project/b69b5eb1-7de3-4bce-80fd-2ca824fd07a0n%40googlegroups.com?utm_medium=email&utm_source=footer>. >>> >>> >>> >>> -- >>> Ecommerce and Linux consulting + Perl and web application programming. >>> Debian and Sympa administration. >>> >>> -- >> 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 view this discussion on the web visit >> https://groups.google.com/d/msgid/ansible-project/f662886f-2a63-4988-a2b7-e15a4dfbfd16n%40googlegroups.com >> <https://groups.google.com/d/msgid/ansible-project/f662886f-2a63-4988-a2b7-e15a4dfbfd16n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > > > -- > Dick Visser > Trust & Identity Service Operations Manager > GÉANT > > -- > 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 view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/CAL8fbwNz4ToNKCBngPbHOtB4%3D%3DHbFvx%3DTCJ6%3D4CL-kSrgvrDUA%40mail.gmail.com > <https://groups.google.com/d/msgid/ansible-project/CAL8fbwNz4ToNKCBngPbHOtB4%3D%3DHbFvx%3DTCJ6%3D4CL-kSrgvrDUA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CA%2BuTAOgXB1y_ATqNWBtRXxNyVuysaVA8gBp3Scx8cJKFAR-nBA%40mail.gmail.com.
