Hello - is this log file located in the server where Ansible is installed or remote server ?
On Thu, Jul 2, 2020 at 5:25 AM Jenisha T <[email protected]> wrote: > Hi > I have output from log file as below. I need to extract the string shown > in bold. > > Communication Diagnostic Report > > ----------------------------------------------- > > > User Name : username > > Directory : /path/to/dir > > Platform Architecture : Linux > > Version : x.0.00.x > > Host Name : abcdef1234 > > Logical Name : *abcdef1234* > > Listen to Network Interface : *ANY > > > processes status > > ====================== > > Listener : *Running as root * > > > How to extract the value of Logical Name : *abcdef1234 * > > from the multiline string. > > > -- > 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/cbdb83e6-d7b4-42ec-8d23-408736d0aeb2n%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/cbdb83e6-d7b4-42ec-8d23-408736d0aeb2n%40googlegroups.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/CAG-N3P4X4NPOv%2B_QxQLtvELH%3DDomxCWr0weNY%2Bh1vLZnE7Pi3Q%40mail.gmail.com.
