This is a very academic question. To avoid having to do hypothetical exercises and lots of guessing - please share your playbooks and the inventory that your “web portal” supplies (or any other relevant data).
In short we need more information. At first glance this sounds like a problem that is out On Fri, 20 Dec 2019 at 17:57, Vicky . <[email protected]> wrote: > Hi, > > I have a use case where I am automating switch patching where engineers > can select a switch name and playbook name from a web portal. > I would to like to handle an exception if engineers select a wrong > switch/playbook. > > But the problem is all the tasks are skipped if engineers select a wrong > switch or wrong playbook which is expected. > > *But I want to make sure to send them a notification if this happens. Is > there any way to do that?* > > Thank you in advance. > > Best wishes, > Bikram > > -- > 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/CAEFfMJQnG7vZ03Hbpxv%2BaXSOZjChP39vgN%2BNpk0_RSxmcvHDug%40mail.gmail.com > <https://groups.google.com/d/msgid/ansible-project/CAEFfMJQnG7vZ03Hbpxv%2BaXSOZjChP39vgN%2BNpk0_RSxmcvHDug%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- Sent from a mobile device - please excuse the brevity, spelling and punctuation. -- 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/CAL8fbwNfbTxyNHcq%3Dz2qsjw_k8-RGaZFDzsshES7fNFWWbzrDg%40mail.gmail.com.
