If you are trying to find out if there are any alarm for this host, then use regex search:
https://docs.ansible.com/ansible/latest/user_guide/playbooks_tests.html#testing-strings On Sun, 8 Mar 2020 at 08:10, 이승준 <[email protected]> wrote: > > The contents of host.stdout is this No alarms currently active > > "1 alarms currently active" > "No alarms currently active" > > Regards > > -- > 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/CADbbCaRkxkq9HvMM0bmTbJ%3D_FYeBae21pE4XAJawqLDbZJRywg%40mail.gmail.com. -- 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/CAL8fbwNX8rRxEzDhkvVnnocpeN%2BuYaw6GdLyHai7bF2BJx3QwA%40mail.gmail.com.
